Skip to content

Commit

Permalink
updated login
Browse files Browse the repository at this point in the history
  • Loading branch information
az committed Jan 30, 2025
1 parent 81961f2 commit a484dad
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/buid-push-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,15 @@ jobs:
-t ghcr.io/analyticsmd/github-runner:${{ github.sha }} \
--platform=linux/amd64 .
- name: Log in to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Push Docker image
run: |
echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u $ --password-stdin
docker push ghcr.io/analyticsmd/github-runner:latest
# - name: Send Success Slack notification
Expand Down

0 comments on commit a484dad

Please sign in to comment.