Try to build :latest using docker-dind
Some checks failed
ci/woodpecker/push/build/2 Pipeline failed
ci/woodpecker/push/build/1 Pipeline failed
ci/woodpecker/push/tag unknown status

This commit is contained in:
2025-01-14 02:32:01 +04:00
parent c3013e3944
commit 5aa1e4efcb
4 changed files with 135 additions and 40 deletions

17
.woodpecker/tag.yaml Normal file
View File

@@ -0,0 +1,17 @@
when:
branch: main
event: [push, tag]
depends_on:
- build
steps:
tag:
image: docker:27-dind
commands:
- docker pull source.hodakov.me/hdkv/phpbb:${CI_COMMIT_SHA:0:10}-amd64
- docker pull source.hodakov.me/hdkv/phpbb:${CI_COMMIT_SHA:0:10}-arm64
- docker manifest create source.hodakov.me/hdkv/phpbb:latest source.hodakov.me/hdkv/phpbb:${CI_COMMIT_SHA:0:10}-amd64 source.hodakov.me/hdkv/phpbb:${CI_COMMIT_SHA:0:10}-arm64
- docker manifest push source.hodakov.me/hdkv/phpbb:latest
volumes:
- /var/run/docker.sock:/var/run/docker.sock