Changed CI Workflow for tagged build
This commit is contained in:
parent
a9a1efb7ae
commit
dca710815c
1 changed files with 9 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue