add tag only

This commit is contained in:
Adrien Beaudouin 2024-08-14 17:08:29 +02:00
parent 48c132bede
commit 6297292f66

View File

@ -9,6 +9,7 @@ on:
username:
description: "Username used to log against the Docker registry"
default: ${{ vars.CONTAINER_REGISTRY_USERNAME }}
secrets:
password:
description: "Password or personal access token used to log against the Docker registry"
required: true
@ -22,7 +23,7 @@ jobs:
with:
registry: ${{ inputs.registry }}
username: ${{ inputs.username }}
password: ${{ secrets.CONTAINER_REGISTRY_PASSWORD }}
password: ${{ secrets.password }}
- name: Push tags
shell: bash
if: ${{ startsWith(gitea.ref, 'refs/tags/v') }}