2024-04-20 19:17:04 +00:00
|
|
|
steps:
|
2024-10-05 19:52:58 +00:00
|
|
|
- name: build-docker-lt-linux-amd64/arm64/armv6
|
2024-04-20 19:17:04 +00:00
|
|
|
image: woodpeckerci/plugin-docker-buildx:3
|
|
|
|
settings:
|
|
|
|
platforms: linux/amd64,linux/arm/v6,linux/arm64/v8
|
|
|
|
repo: git.hackmi.ch/phil/goshorly
|
|
|
|
registry: git.hackmi.ch
|
|
|
|
tags: ${CI_COMMIT_TAG}
|
|
|
|
username:
|
|
|
|
from_secret: reg-user
|
|
|
|
password:
|
|
|
|
from_secret: reg-pass
|
|
|
|
build_args:
|
|
|
|
- CI_COMMIT_BRANCH=${CI_COMMIT_BRANCH}
|
|
|
|
- CI_COMMIT_SHORT_SHA=${CI_COMMIT_SHA:0:10}
|
|
|
|
- CI_COMMIT_TAG=${CI_COMMIT_TAG}
|
2024-10-05 19:52:58 +00:00
|
|
|
when:
|
|
|
|
- event: push
|
|
|
|
branch: main
|
|
|
|
- event: cron
|
2024-04-20 19:17:04 +00:00
|
|
|
|
|
|
|
services:
|
|
|
|
docker:
|
|
|
|
image: docker:24-dind
|
|
|
|
commands:
|
|
|
|
- dockerd --tls=false --host=tcp://0.0.0.0:2376
|
|
|
|
privileged: true
|
2024-10-05 19:52:58 +00:00
|
|
|
when:
|
|
|
|
- event: push
|
|
|
|
branch: main
|
|
|
|
- event: cron
|
2024-04-20 19:17:04 +00:00
|
|
|
|
|
|
|
depends_on:
|
|
|
|
- 1-check
|
|
|
|
|
|
|
|
when:
|
|
|
|
- event: tag
|