This commit is contained in:
Daniil Gentili 2023-05-29 23:52:55 +02:00
parent 521de6c5eb
commit 8f0e66643e

View File

@ -14,15 +14,16 @@ clone:
pipeline:
alpine-cli:
image: woodpeckerci/plugin-docker-buildx
image: docker:cli
secrets: [docker_username, docker_password]
settings:
repo: danog/php
dockerfile: "8.2/alpineedge/cli/Dockerfile"
platforms: linux/riscv64
tag: 8.2-alpine
cache_from: type=registry,ref=danog/php:8.2-alpine
cache_to: type=inline
volumes:
- /var/run/docker.sock:/var/run/docker.sock
commands:
- docker login --username "$DOCKER_USERNAME" --password "$DOCKER_PASSWORD"
- cd "8.2/alpineedge/cli/"
- docker buildx create --use --name wp --driver remote tcp://192.168.69.206:1234
- docker buildx build --platform linux/riscv64 . -t danog/php:8.2-alpine
- docker push danog/php:8.2-alpine
when:
event:
- push