Fix tag name
This commit is contained in:
parent
aa8ae6277a
commit
745c8e1baa
1 changed files with 2 additions and 2 deletions
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
|
@ -51,8 +51,8 @@ jobs:
|
||||||
- name: Build the Docker image
|
- name: Build the Docker image
|
||||||
run: |
|
run: |
|
||||||
echo ${{ secrets.CR_PAT }} | docker login ghcr.io -u $GITHUB_ACTOR --password-stdin
|
echo ${{ secrets.CR_PAT }} | docker login ghcr.io -u $GITHUB_ACTOR --password-stdin
|
||||||
docker build . --file Dockerfile --tag ghcr.io/nicolaschan/minecraft-backup:$RELEASE_VERSION --tag ghcr.io/nicolaschan/minecraft-backup:latest
|
docker build . --file Dockerfile --tag ghcr.io/nicolaschan/minecraft-backup:${GITHUB_REF#refs/*/} --tag ghcr.io/nicolaschan/minecraft-backup:latest
|
||||||
docker push ghcr.io/nicolaschan/minecraft-backup:$RELEASE_VERSION
|
docker push ghcr.io/nicolaschan/minecraft-backup:${GITHUB_REF#refs/*/}
|
||||||
docker push ghcr.io/nicolaschan/minecraft-backup:latest
|
docker push ghcr.io/nicolaschan/minecraft-backup:latest
|
||||||
|
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
|
|
Loading…
Add table
Reference in a new issue