From 2ba7cb195a26af1134cb01b87e434d179c0c96fa Mon Sep 17 00:00:00 2001 From: Lluis Date: Tue, 2 Apr 2024 19:28:12 +0200 Subject: [PATCH] workflow push on tag --- .github/workflows/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3b7998c..1c00a77 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -2,8 +2,7 @@ name: ci on: push: - branches: - - master + tags: [ v* ] workflow_dispatch: jobs: @@ -28,4 +27,5 @@ jobs: with: context: . push: true - tags: ${{ secrets.DOCKER_USERNAME }}/${{ github.event.repository.name }}:${{ steps.vars.outputs.tag }} ,${{ secrets.DOCKER_USERNAME }}/${{ github.event.repository.name }}:latest + tags: ${{ steps.meta.outputs.tags }} + labels: ${{ steps.meta.outputs.labels }}