From 558060f14e2c71492afcd055a26730294e4a6056 Mon Sep 17 00:00:00 2001 From: dennisvang <29799340+dennisvang@users.noreply.github.com> Date: Tue, 11 Feb 2025 17:07:18 +0100 Subject: [PATCH] actually use inputs.push in docker build-push-action accidentally forgot to do this in PR #4 --- .github/workflows/docker-publish.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 900b7d7..fe8d201 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -71,8 +71,7 @@ jobs: # https://docs.docker.com/build/concepts/dockerfile/#filename file: ./Dockerfile platforms: linux/amd64,linux/arm64 - # alternative: push: ${{ github.event_name == 'release' && github.event.action == 'created' }} - push: ${{ github.event_name != 'pull_request' }} + push: ${{ inputs.push }} tags: ${{ steps.meta.outputs.tags }} # https://docs.docker.com/build/metadata/annotations/ annotations: ${{ steps.meta.outputs.annotations }}