Skip to content

Commit

Permalink
Update build-image.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
qjoly authored Aug 26, 2024
1 parent c30fc90 commit c671122
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/build-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,13 @@ jobs:
echo "reponame=${reponame,,}" >>${GITHUB_ENV}
env:
reponame: '${{ github.repository }}'

- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GHCR_PAT }} # Use the new secret here

- name: Build and Push Docker Image
uses: docker/build-push-action@v6
Expand Down

0 comments on commit c671122

Please sign in to comment.