Compare commits

..

2 Commits

Author SHA1 Message Date
b13699d2f8 fix(ci): Issue with tag propagating to buildx 🔧
Some checks failed
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline failed
2024-04-03 10:43:51 +13:00
f7f395c30f fix(ci): Flip to using buildx for tagged build 🔧
Some checks failed
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline failed
2024-04-03 10:36:21 +13:00

View File

@@ -10,6 +10,8 @@ variables:
from_secret: hub_username_cybercinch
password:
from_secret: docker_password_cybercinch
- build_args: &build_args
- TAG: ${CI_COMMIT_TAG}
clone:
git:
image: woodpeckerci/plugin-git
@@ -65,23 +67,20 @@ steps:
- manual
publish-docker-tagged:
image: docker.io/cybercinch/woodpecker-plugin-depot
image: woodpeckerci/plugin-docker-buildx
pull: true
settings:
<<: *docker_creds
token:
from_secret: depot_token
repohost: hub.cybercinch.nz
registry: hub.cybercinch.nz
repo: cybercinch/${CI_REPO_NAME}
project:
from_secret: depot_project
dockerfile: Dockerfile
push: true
platforms: *platforms
buildargs:
build_args:
- TAG=${CI_COMMIT_TAG}
tags:
- "latest"
- latest
- ${CI_COMMIT_TAG}
when:
branch: ${CI_REPO_DEFAULT_BRANCH}