fix: use docker build --push for buildx container driver
All checks were successful
CI / secrets (push) Successful in 9s
CI / lint (push) Successful in 13s
CI / test (push) Successful in 26s
CI / build (push) Successful in 17s

Docker buildx with docker-container driver doesn't load images
into the local daemon. Use --push to push directly during build.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
user
2026-02-22 08:45:52 +01:00
parent 5eb64d034e
commit f3eae9291b

View File

@@ -80,6 +80,4 @@ jobs:
run: |
TAG="harbor.mymx.me/library/bouncer:${GITHUB_SHA::8}"
LATEST="harbor.mymx.me/library/bouncer:latest"
docker build -t "$TAG" -t "$LATEST" -f Containerfile .
docker push "$TAG"
docker push "$LATEST"
docker build --push -t "$TAG" -t "$LATEST" -f Containerfile .