From 7460ab9e1788ac98b68ee9a8251f9271a6e74a3c Mon Sep 17 00:00:00 2001 From: neochrome Date: Mon, 23 Aug 2021 10:32:11 +0200 Subject: [PATCH] tweak publish workflow --- .github/workflows/publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 7702af4..aa8261e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -2,6 +2,8 @@ name: publish on: release: + types: + - released jobs: @@ -46,7 +48,6 @@ jobs: uses: docker/setup-buildx-action@v1.5.1 - name: Login to Docker Hub - if: ${{ github.action == 'released' }} uses: docker/login-action@v1.10.0 with: username: ${{ secrets.DOCKER_HUB_USERNAME }} @@ -61,7 +62,6 @@ jobs: linux/arm64 linux/arm/v7 linux/arm/v6 - push: ${{ github.action == 'released' }} tags: ${{ steps.build-args.outputs.tags }} labels: | version=${{ steps.build-args.outputs.version }}