Skip to content

Commit

Permalink
use github for package as registry
Browse files Browse the repository at this point in the history
  • Loading branch information
Dominic Wrege committed Aug 14, 2023
1 parent ebf415d commit 1a9cc97
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@ jobs:
- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
username: ${{ secrets.USERNAME }}
password: ${{ secrets.TOKEN }}
registry: ghcr.io
- name: Build and push
uses: docker/build-push-action@v3
with:
push: true
tags: dominicwrege/parkfuchs-web:latest
tags: team-ladefuchs/parkfuchs:latest
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,4 @@ EXPOSE 3000
ENV PORT 3000
ENV NEXT_SHARP_PATH /node_modules/sharp

CMD ["node", "server.js", "--hostname", "localhost"]
CMD ["node", "server.js"]

0 comments on commit 1a9cc97

Please sign in to comment.