Skip to content

Commit c2b4f57

Browse files
Ajustando mais uma vez para o quay.io
1 parent 49cbb06 commit c2b4f57

1 file changed

Lines changed: 7 additions & 9 deletions

File tree

.github/workflows/build-image.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -98,15 +98,13 @@ jobs:
9898
🏷️ Tag: ${{ steps.meta.outputs.version }}-${{ steps.meta.outputs.date }}
9999
🔗 ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
100100
101-
- 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 }}
101+
- name: Autenticar nos Registros (GHCR e Quay.io)
106102
run: |
107-
skopeo copy \
108-
--src-creds "${{ github.actor }}:${GH_TOKEN}" \
109-
--dest-username "${QUAY_USER}" \
110-
--dest-password "${QUAY_TOKEN}" \
103+
echo "${{ secrets.GITHUB_TOKEN }}" | podman login ghcr.io -u "${{ github.actor }}" --password-stdin
104+
echo "${{ secrets.QUAY_ROBOT_TOKEN }}" | podman login quay.io -u "${{ secrets.QUAY_USERNAME }}" --password-stdin
105+
106+
- name: Copiar imagem do GHCR para o Quay.io via Podman
107+
run: |
108+
podman image copy \
111109
docker://ghcr.io/ferlinuxdebian/bootc-gnome-minimal:latest \
112110
docker://quay.io/ferlinuxdebian/bootc-gnome-minimal:latest

0 commit comments

Comments
 (0)