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