Skip to content

Commit 49cbb06

Browse files
Ajustando o envio para o quay.io
1 parent 7bace7f commit 49cbb06

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/build-image.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,14 @@ jobs:
9999
🔗 ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
100100
101101
- name: Copiar imagem do GHCR para o Quay.io via Skopeo
102+
env:
103+
QUAY_USER: ${{ secrets.QUAY_USERNAME }}
104+
QUAY_TOKEN: ${{ secrets.QUAY_ROBOT_TOKEN }}
105+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
102106
run: |
103107
skopeo copy \
104-
--src-creds "${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}" \
105-
--dest-creds "${{ secrets.QUAY_USERNAME }}:${{ secrets.QUAY_ROBOT_TOKEN }}" \
108+
--src-creds "${{ github.actor }}:${GH_TOKEN}" \
109+
--dest-username "${QUAY_USER}" \
110+
--dest-password "${QUAY_TOKEN}" \
106111
docker://ghcr.io/ferlinuxdebian/bootc-gnome-minimal:latest \
107112
docker://quay.io/ferlinuxdebian/bootc-gnome-minimal:latest

0 commit comments

Comments
 (0)