Changed CI Workflow for tagged build
All checks were successful
ci/woodpecker/push/1-check Pipeline was successful
ci/woodpecker/push/2-build-latest Pipeline was successful

This commit is contained in:
Phil 2024-10-05 21:52:58 +02:00
parent a9a1efb7ae
commit dca710815c
Signed by: Phil
GPG key ID: 350C8B7C4EF5DED4

View file

@ -1,8 +1,6 @@
steps:
- name: build-docker-tg-linux-amd64/arm64/armv6
- name: build-docker-lt-linux-amd64/arm64/armv6
image: woodpeckerci/plugin-docker-buildx:3
environment:
- DOCKER_HOST=tcp://docker:2376
settings:
platforms: linux/amd64,linux/arm/v6,linux/arm64/v8
repo: git.hackmi.ch/phil/goshorly
@ -16,6 +14,10 @@ steps:
- CI_COMMIT_BRANCH=${CI_COMMIT_BRANCH}
- CI_COMMIT_SHORT_SHA=${CI_COMMIT_SHA:0:10}
- CI_COMMIT_TAG=${CI_COMMIT_TAG}
when:
- event: push
branch: main
- event: cron
services:
docker:
@ -23,6 +25,10 @@ services:
commands:
- dockerd --tls=false --host=tcp://0.0.0.0:2376
privileged: true
when:
- event: push
branch: main
- event: cron
depends_on:
- 1-check