diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 174e1bc..836e957 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,8 +1,8 @@ name: Publish Docker images on: push: - tags: - - '*' + branches: + - 'main' jobs: push_to_registry: @@ -53,7 +53,7 @@ jobs: - name: Extract Docker metadata id: meta - uses: docker/metadata-action@v4 + uses: docker/metadata-action@v5 with: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}