From 043fba44678a3de9ed59b6915b3be2e8fbdcedba Mon Sep 17 00:00:00 2001 From: Nathan Sarrazin Date: Sun, 26 Mar 2023 17:10:06 +0200 Subject: [PATCH] cleaned up tags --- .github/workflows/docker-image.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 532a6ec..0ce782c 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -1,8 +1,8 @@ name: Create and publish a Docker image on: - release: - types: [published] + push: + branches: ['release'] env: REGISTRY: ghcr.io @@ -45,9 +45,7 @@ jobs: file: ${{ matrix.dockerfile }} context: ${{ matrix.context }} push: true - tags: | - ${{ env.REGISTRY }}/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}:${{steps.meta.outputs.tags }} - ${{ env.REGISTRY }}/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}:release + tags: ${{ env.REGISTRY }}/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}:release labels: ${{ steps.meta.outputs.labels }}