diff --git a/.gitea/workflows/docker-build.yml b/.gitea/workflows/docker-build.yml index 4ef66b4..33de10c 100644 --- a/.gitea/workflows/docker-build.yml +++ b/.gitea/workflows/docker-build.yml @@ -23,7 +23,11 @@ jobs: - name: Clone Repository uses: actions/checkout@v3 - - - name: Build and Push Docker Image - run: | - docker buildx build --platform linux/amd64,linux/arm64 --push -t git.kohout-dev.de/rezepte/rezepte:latest . + + - name: Build and push Docker image + uses: https://github.com/docker/build-push-action@v5 + with: + context: . + file: ./Dockerfile + push: true + tags: "git.kohout-dev.de/rezepte/rezepte:${{gitea.sha}},git.kohout-dev.de/rezepte/rezepte:latest"