Skip to content

Commit

Permalink
add login to ghcr
Browse files Browse the repository at this point in the history
  • Loading branch information
Anne Marie Noronha committed Apr 18, 2024
1 parent 3a8aa60 commit 904a2d8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/prod-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ jobs:
file: containers/${{ matrix.tags }}/Dockerfile
tags: ${{ env.JFROG_CONTAINER_REPO }}/${{ steps.docker_repo_name.outputs.name}}:${{steps.docker_repo_version.outputs.version}}
push: true
- name: Log in to GHCR registry
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
- name: Build and push Docker to GHCR
uses: docker/build-push-action@v5
with:
Expand Down

0 comments on commit 904a2d8

Please sign in to comment.