Skip to content

Commit

Permalink
add docker login
Browse files Browse the repository at this point in the history
  • Loading branch information
vitor authored and vitor committed Mar 4, 2024
1 parent 5e2e994 commit 3cf5625
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/build-push-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,13 @@ jobs:
docker push ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.TAG_NAME }}
if: github.event_name == 'push'

- name: Log in to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Set up Kubectl
uses: azure/setup-kubectl@v1
with:
Expand Down

0 comments on commit 3cf5625

Please sign in to comment.