Skip to content

Commit

Permalink
Fix docker registry in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ranisalt authored May 22, 2024
1 parent dd63567 commit 5e24da5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ jobs:
if: github.ref_type == 'tag'
with:
push: true
tags: forgottenserver:${{ github.ref_name }}
tags: ghcr.io/forgottenserver:${{ github.ref_name }}

- name: Build and push
uses: docker/build-push-action@v5
if: github.event_name == 'pull_request' || github.ref_type == 'branch'
with:
push: ${{ github.event_name != 'pull_request' }}
tags: forgottenserver:latest
tags: ghcr.io/forgottenserver:latest

0 comments on commit 5e24da5

Please sign in to comment.