diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index e74f105..d8179ed 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -2,10 +2,10 @@ name: Docker Build and Push on: push: - branches: [ "main", "develop" ] - tags: [ "v*.*.*" ] + branches: ["main"] + tags: ["v*.*.*"] pull_request: - branches: [ "main", "develop" ] + branches: ["main"] workflow_dispatch: env: @@ -27,9 +27,6 @@ jobs: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 - - name: Show generated image tags - run: echo "${{ steps.meta.outputs.tags }}" - - name: Log in to Container registry if: github.event_name != 'pull_request' uses: docker/login-action@v3 @@ -53,6 +50,8 @@ jobs: flavor: | latest=auto + - name: Show generated image tags + run: echo "${{ steps.meta.outputs.tags }}" - name: Build and push Docker image uses: docker/build-push-action@v5 with: @@ -61,4 +60,4 @@ jobs: tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} cache-from: type=gha - cache-to: type=gha,mode=max \ No newline at end of file + cache-to: type=gha,mode=max