Skip to content

Commit

Permalink
login and push image to GH's container registry
Browse files Browse the repository at this point in the history
  • Loading branch information
fmaclen committed Jun 2, 2024
1 parent 4c4630c commit dc35ebd
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Login to container registry
run: docker login --username fmaclen --password ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }} ghcr.io

- name: Build image
run: docker build -t hollama .
run: docker build . --tag ghcr.io/fmaclen/hollama:latest

- name: Push image
run: docker push ghcr.io/fmaclen/hollama:latest

0 comments on commit dc35ebd

Please sign in to comment.