Merge pull request 'bugfix/15-docker-deployment' (#21) from bugfix/15-docker-deployment into main
All checks were successful
Build and Push Docker Image on Release / build-and-push (release) Successful in 3m55s
test-and-lint / test-and-lint (push) Successful in 2m46s

Reviewed-on: #21
This commit is contained in:
2026-06-10 04:31:19 +02:00
committed by Gitea

View File

@@ -27,12 +27,17 @@ jobs:
--username "${{ secrets.REGISTRY_USER }}" \
--password-stdin
- name: Prepare Docker image tags
run: |
IMAGE_REPO="$(echo "git.miaurizius.de/${{ gitea.repository }}" | tr '[:upper:]' '[:lower:]')"
echo "IMAGE_REPO=$IMAGE_REPO" >> "$GITHUB_ENV"
- name: Build and push multi-arch Docker image
run: |
docker buildx build \
--platform linux/amd64,linux/arm64 \
--file ./Dockerfile \
--tag git.miaurizius.de/${{ gitea.repository }}:latest \
--tag git.miaurizius.de/${{ gitea.repository }}:${{ gitea.event.release.tag_name }} \
--tag "$IMAGE_REPO:latest" \
--tag "$IMAGE_REPO:${{ gitea.event.release.tag_name }}" \
--push \
.