mirror of
https://github.com/yusing/godoxy.git
synced 2025-05-19 20:32:35 +02:00
github CI fix attempt
This commit is contained in:
parent
ab2dc26b76
commit
a351de7441
1 changed files with 1 additions and 1 deletions
2
.github/workflows/docker-image.yml
vendored
2
.github/workflows/docker-image.yml
vendored
|
@ -15,7 +15,7 @@ jobs:
|
|||
tags: ${{ github.ref_name }}
|
||||
|
||||
- name: Tag as latest
|
||||
if: startsWith(github.ref, 'refs/tags/v') && !contains(github.ref_name, '-')
|
||||
if: startsWith(github.ref, 'refs/tags/') && !contains(github.ref_name, '-')
|
||||
run: |
|
||||
docker tag ghcr.io/${{ github.repository }}:${{ github.ref_name }} ghcr.io/${{ github.repository }}:latest
|
||||
docker push ghcr.io/${{ github.repository }}:latest
|
||||
|
|
Loading…
Add table
Reference in a new issue