cleaned up tags

This commit is contained in:
Nathan Sarrazin 2023-03-26 17:10:06 +02:00
parent 9945ab9cc1
commit 043fba4467

View File

@ -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 }}