ci: publish latest image tag on release
ci/woodpecker/push/ci Pipeline failed

This commit is contained in:
justme committed 2026-10-02 06:20:05 +00:00
1 parent c68acfd78b
commit ca62b9dd6e
1 file changed
+2 -2
+2 -2
View File
@@ -55,5 +55,5 @@ steps:
- printf '%s' "$ZOT_PASSWORD" | buildah login --tls-verify=false "$ZOT_REGISTRY" --username "$ZOT_USERNAME" --password-stdin
- trap 'buildah logout "$ZOT_REGISTRY" >/dev/null 2>&1 || true' EXIT
- image="$ZOT_REGISTRY/justme/webdrop-api:$release_tag"
- buildah bud --layers --network host --format docker --platform linux/amd64 --tag "$image" --file server/Dockerfile .
- buildah push --tls-verify=false "$image" "docker://$image"
- latest_image="$ZOT_REGISTRY/justme/webdrop-api:latest"`n - buildah bud --layers --network host --format docker --platform linux/amd64 --tag "$image" --tag "$latest_image" --file server/Dockerfile .`n`n - buildah push --tls-verify=false "$latest_image" "docker://$latest_image"