From 5722b2aec8d1a59a3c5662a3fa48921a5689e8b4 Mon Sep 17 00:00:00 2001 From: "maksim.nabokikh" Date: Mon, 3 Mar 2025 20:36:57 +0100 Subject: [PATCH] Fix actions file Signed-off-by: maksim.nabokikh --- .github/workflows/publish-tag.yaml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/.github/workflows/publish-tag.yaml b/.github/workflows/publish-tag.yaml index 11bd96f..888e055 100644 --- a/.github/workflows/publish-tag.yaml +++ b/.github/workflows/publish-tag.yaml @@ -44,14 +44,16 @@ jobs: # Build and push Docker image with Buildx (don't push on PR) # https://github.com/docker/build-push-action - name: Build Image + if: ${{ github.event_name == 'pull_request' }} run: | . <(echo "$DOCKER_METADATA_OUTPUT_LABELS" | awk '{print "export WERF_EXPORT_ADD_LABEL_" NR "=" $0}') werf build - with: - push: ${{ github.event_name == 'pull_request' }} - tags: ${{ steps.meta.outputs.tags }} - labels: ${{ steps.meta.outputs.labels }} - build-args: | - TAG=${{ github.ref_name }} - platforms: linux/amd64,linux/arm64,linux/arm - file: ./Dockerfile.${{ matrix.name }} + + # with: + # push: ${{ github.event_name == 'pull_request' }} + # tags: ${{ steps.meta.outputs.tags }} + # labels: ${{ steps.meta.outputs.labels }} + # build-args: | + # TAG=${{ github.ref_name }} + # platforms: linux/amd64,linux/arm64,linux/arm + # file: ./Dockerfile.${{ matrix.name }}