Skip to content

Commit

Permalink
fix docker repo path
Browse files Browse the repository at this point in the history
  • Loading branch information
janspeller committed May 21, 2022
1 parent 16b0de2 commit 0ce2602
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Build the Docker image for the Client
run: docker build . --file Dockerfile --target client --tag docker.pkg.github.com/janspeller/bw3-core/client:latest
run: docker build . --file Dockerfile --target client --tag ghcr.io/janspeller/bw3-core/client:latest
- name: Build the Docker image for the Server
run: docker build . --file Dockerfile --target server --tag docker.pkg.github.com/janspeller/bw3-core/server:latest
run: docker build . --file Dockerfile --target server --tag ghcr.io/janspeller/bw3-core/server:latest
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GH_PAT }}
- name: Push the Client Docker image to Github package repository
run: docker push docker.pkg.github.com/janspeller/bw3-core/client:latest
run: docker push ghcr.io/janspeller/bw3-core/client:latest
- name: Push the Server Docker image to Github package repository
run: docker push docker.pkg.github.com/janspeller/bw3-core/server:latest
run: docker push ghcr.io/janspeller/bw3-core/server:latest

0 comments on commit 0ce2602

Please sign in to comment.