update workflow

This commit is contained in:
pie
2026-05-03 19:10:36 +01:00
parent 067cc51cf2
commit 111298e77c
+10 -8
View File
@@ -23,11 +23,13 @@ jobs:
username: ${{ github.actor }} username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }} password: ${{ secrets.GITHUB_TOKEN }}
- name: Build Docker image - name: Build and Push
run: | uses: docker/build-push-action@v6
docker build -t ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest \ with:
-t ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.sha }} . context: .
file: ./Dockerfile
- name: Push Docker image platform: linux/amd64
run: | push: true
docker push ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} --all-tags tags:
- ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
- ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.sha }}