Skip to content

Commit

Permalink
Add release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolaschan committed Jun 4, 2021
1 parent c90fad4 commit aa8ae62
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit aa8ae62

Please sign in to comment.