ci: switch from legacy docker build to buildx
Some checks failed
CI / ci (push) Successful in 1m6s
CI / e2e (push) Has been skipped
CI / deploy (push) Failing after 1m14s

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-07 15:38:06 +02:00
parent 2c438466a4
commit 99192fe32f
2 changed files with 4 additions and 4 deletions

View File

@@ -40,7 +40,7 @@ jobs:
steps:
- name: Clone repository
run: |
apk add --no-cache git curl jq docker-cli
apk add --no-cache git curl jq docker-cli docker-cli-buildx
git clone https://${{ secrets.GITEA_TOKEN }}@gitea.jeanlucmakiola.de/${{ gitea.repository }}.git repo
cd repo
git checkout ${{ gitea.ref_name }}
@@ -90,7 +90,7 @@ jobs:
run: |
REGISTRY="gitea.jeanlucmakiola.de"
IMAGE="${REGISTRY}/${{ gitea.repository_owner }}/gearbox"
docker build -t "${IMAGE}:${VERSION}" -t "${IMAGE}:latest" .
docker buildx build -t "${IMAGE}:${VERSION}" -t "${IMAGE}:latest" .
echo "${{ secrets.REGISTRY_TOKEN }}" | docker login "$REGISTRY" -u "${{ gitea.repository_owner }}" --password-stdin
docker push "${IMAGE}:${VERSION}"
docker push "${IMAGE}:latest"