Push on master or release (#60)
This commit is contained in:
parent
3c3f9140f7
commit
835c276da4
1 changed files with 2 additions and 2 deletions
4
.github/workflows/package.yaml
vendored
4
.github/workflows/package.yaml
vendored
|
|
@ -53,9 +53,9 @@ jobs:
|
||||||
username: ${{ github.actor }}
|
username: ${{ github.actor }}
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Push image
|
- name: Push image on master or release
|
||||||
run: |
|
run: |
|
||||||
if [[ ${{ github.ref }} == 'refs/heads/master' ]]; then
|
if [[ ${{ github.ref }} =~ ^refs\/heads\/master|^refs\/tags\/v.* ]]; then
|
||||||
IMAGE_ID=ghcr.io/${{ github.repository_owner }}/$IMAGE_NAME
|
IMAGE_ID=ghcr.io/${{ github.repository_owner }}/$IMAGE_NAME
|
||||||
|
|
||||||
# Change all uppercase to lowercase
|
# Change all uppercase to lowercase
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue