Skip to content
This repository was archived by the owner on Jun 20, 2024. It is now read-only.

Commit 457a952

Browse files
committed
Update gha
1 parent 1c1bea4 commit 457a952

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/cicd.yaml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,14 @@ jobs:
2626
uses: "actions/checkout@v3"
2727
- name: "Build the image"
2828
run: "make tag=${{ github.ref_name }} build"
29+
# - name: "Login to ghcr.io"
30+
# uses: "docker/login-action@v1"
31+
# with:
32+
# registry: "ghcr.io"
33+
# username: ${{ github.actor }}
34+
# password: ${{ secrets.GITHUB_TOKEN }}
2935
- name: "Login to ghcr.io"
30-
uses: "docker/login-action@v1"
31-
with:
32-
registry: "ghcr.io"
33-
username: ${{ github.actor }}
34-
password: ${{ secrets.GITHUB_TOKEN }}
36+
run: "echo ${{ secrets.GITHUB_TOKEN }} | docker login ghcr.io -u USERNAME --password-stdin"
3537
- name: "Push the image to the repository"
3638
run: "make tag=${{ github.ref_name }} push"
3739
test:

0 commit comments

Comments
 (0)