File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change 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
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 : |
You can’t perform that action at this time.
0 commit comments