Skip to content

Commit

Permalink
Update publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesIves committed Jul 15, 2024
1 parent a24bd35 commit 35b121e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}

- name: Replace fallback value in Dockerfile and entrypoint.sh
working-directory: ./container
run: |
sed -i "s/\${GAME:-valve}/\${GAME:-${{ matrix.game }}}/g" Dockerfile
sed -i "s/\${GAME:-valve}/\${GAME:-${{ matrix.game }}}/g" entrypoint.sh
Expand All @@ -65,7 +66,7 @@ jobs:
env:
GAME: ${{ matrix.game }}
with:
context: .
context: ./container
push: true
tags: |
jives/hlds:${{ matrix.game }}
Expand All @@ -81,7 +82,7 @@ jobs:
env:
GAME: ${{ matrix.game }}
with:
context: .
context: ./container
push: true
tags: |
ghcr.io/${{ steps.repo_owner.outputs.repo_owner }}/hlds:${{ matrix.game }}
Expand Down

0 comments on commit 35b121e

Please sign in to comment.