Skip to content

Commit 527321a

Browse files
Update cicd
1 parent 8d3ae5a commit 527321a

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.github/workflows/cicd.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,6 @@ jobs:
7878
echo "Built & pushed to: ${{ env.DOCKERHUB_IMAGE }}:${TAG}"
7979
shell: bash
8080

81-
- name: Login in to GHCR
82-
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3.6.0
83-
with:
84-
registry: ghcr.io
85-
username: ${{ github.actor }}
86-
password: ${{ secrets.GITHUB_TOKEN }}
87-
8881
- name: Install skopeo + jq
8982
# skopeo: copy/inspect images between registries
9083
# jq: JSON parsing tool used to extract digest values
@@ -94,6 +87,11 @@ jobs:
9487
skopeo --version
9588
shell: bash
9689

90+
- name: Login to GHCR
91+
run: |
92+
skopeo login ghcr.io -u "${{ github.actor }}" -p "${{ secrets.GITHUB_TOKEN }}"
93+
shell: bash
94+
9795
- name: Copy tag from Docker Hub to GHCR
9896
# Mirror the already-built image (all architectures) to GHCR so we can sign it
9997
run: |

0 commit comments

Comments
 (0)