Merge pull request 'bugfix/15-docker-deployment' (#21) from bugfix/15-docker-deployment into main

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 }}" \ --username "${{ secrets.REGISTRY_USER }}" \
--password-stdin --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 - name: Build and push multi-arch Docker image
run: | run: |
docker buildx build \ docker buildx build \
--platform linux/amd64,linux/arm64 \ --platform linux/amd64,linux/arm64 \
--file ./Dockerfile \ --file ./Dockerfile \
--tag git.miaurizius.de/${{ gitea.repository }}:latest \ --tag "$IMAGE_REPO:latest" \
--tag git.miaurizius.de/${{ gitea.repository }}:${{ gitea.event.release.tag_name }} \ --tag "$IMAGE_REPO:${{ gitea.event.release.tag_name }}" \
--push \ --push \
. .