diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index fa87e5b..2a01ea9 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -67,5 +67,5 @@ jobs: with: context: . file: ./Dockerfile - push: true + push: ${{ github.ref == 'refs/heads/master' }} tags: ${{ env.IMAGE_NAME }}:latest,${{ env.IMAGE_NAME }}:${{ github.sha }}