diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3cf8b73..14a8868 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -50,10 +50,10 @@ jobs: tags: | # latest tag for the default branch: type=raw,value=latest,enable={{is_default_branch}} - - name: ${{ github.ref == 'refs/heads/24-dockerize-3' && 'Build and Push Docker image' || 'Build Docker image' }} + - name: 'Build and Push Docker image' uses: docker/build-push-action@v5 with: - push: ${{ github.ref == 'refs/heads/24-dockerize-3'}} + push: true tags: ${{ steps.docker-metadata.outputs.tags }} labels: ${{ steps.docker-metadata.outputs.labels }} cache-from: type=gha