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