Skip to content

Commit

Permalink
use login-action
Browse files Browse the repository at this point in the history
  • Loading branch information
czoido committed Sep 20, 2024
1 parent da38fdd commit 469778b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/ci-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@ jobs:
uses: actions/checkout@v3

- name: Log in to GitHub Container Registry
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Calculate Dockerfile checksum
id: dockerfile_hash
Expand Down

0 comments on commit 469778b

Please sign in to comment.