Skip to content

Commit

Permalink
fix: update credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
Sunny-unik committed Dec 5, 2023
1 parent 0523b5e commit e25c868
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
run: docker build -t ghcr.io/sunny-unik/node-in-docker .

- name: Login to GitHub Container Registry
run: echo "${{ secrets.packages }}" | docker login --username "${{ github.actor }}" --password-stdin ghcr.io
run: echo "{\"auths\":{\"ghcr.io\":{\"username\":\"$GITHUB_ACTOR\",\"password\":\"${{ secrets.packages }}\",\"auth\":\"\"}}}" > ~/docker-auth.json && docker login --authfile ~/docker-auth.json ghcr.io

- name: Push Docker image
run: docker push ghcr.io/sunny-unik/node-in-docker
Expand Down

0 comments on commit e25c868

Please sign in to comment.