add tag only
This commit is contained in:
parent
d62746e9f2
commit
84b183eba9
@ -25,7 +25,7 @@ runs:
|
|||||||
username: ${{ inputs.username }}
|
username: ${{ inputs.username }}
|
||||||
password: ${{ inputs.password }}
|
password: ${{ inputs.password }}
|
||||||
- uses: docker/build-push-action@v6
|
- uses: docker/build-push-action@v6
|
||||||
if: ${{ !startsWith(github.ref, 'refs/tags/v') }}
|
if: ${{ !startsWith(gitea.ref, 'refs/tags/v') }}
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
push: true
|
push: true
|
||||||
@ -33,7 +33,7 @@ runs:
|
|||||||
labels: ${{ steps.meta.outputs.labels }}
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
- name: Push tags
|
- name: Push tags
|
||||||
shell: bash
|
shell: bash
|
||||||
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
|
if: ${{ startsWith(gitea.ref, 'refs/tags/v') }}
|
||||||
run: |
|
run: |
|
||||||
for tag in ${{ steps.meta.outputs.tags }}; do
|
for tag in ${{ steps.meta.outputs.tags }}; do
|
||||||
docker push ${{ inputs.registry }}/${{ gitea.repository }}:$tag
|
docker push ${{ inputs.registry }}/${{ gitea.repository }}:$tag
|
||||||
|
Loading…
x
Reference in New Issue
Block a user