From 8f0e66643e4aeafef269ff7dc8438916a6c01355 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Mon, 29 May 2023 23:52:55 +0200 Subject: [PATCH] Update --- .woodpecker/.variants.yml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.woodpecker/.variants.yml b/.woodpecker/.variants.yml index d49cb11e..564ff465 100644 --- a/.woodpecker/.variants.yml +++ b/.woodpecker/.variants.yml @@ -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