|
|
@ -22,6 +22,12 @@ jobs:
|
|
|
|
registry: ghcr.io
|
|
|
|
registry: ghcr.io
|
|
|
|
username: ${{ github.repository_owner }}
|
|
|
|
username: ${{ github.repository_owner }}
|
|
|
|
password: ${{ secrets.CR_PAT }}
|
|
|
|
password: ${{ secrets.CR_PAT }}
|
|
|
|
|
|
|
|
- name: Login to Quay
|
|
|
|
|
|
|
|
uses: docker/login-action@v2
|
|
|
|
|
|
|
|
with:
|
|
|
|
|
|
|
|
registry: quay.io
|
|
|
|
|
|
|
|
username: ${{ secrets.QUAY_USERNAME }}
|
|
|
|
|
|
|
|
password: ${{ secrets.QUAY_TOKEN }}
|
|
|
|
- name: Login to GitLab
|
|
|
|
- name: Login to GitLab
|
|
|
|
uses: docker/login-action@v2
|
|
|
|
uses: docker/login-action@v2
|
|
|
|
with:
|
|
|
|
with:
|
|
|
@ -81,6 +87,9 @@ jobs:
|
|
|
|
--tag ${{ github.repository }}:${{ steps.generate_temporary_tag_name.outputs.test_tag }} \
|
|
|
|
--tag ${{ github.repository }}:${{ steps.generate_temporary_tag_name.outputs.test_tag }} \
|
|
|
|
--tag ${{ github.repository }}:latest \
|
|
|
|
--tag ${{ github.repository }}:latest \
|
|
|
|
--tag ${{ github.repository }}:${{ steps.identify_github_release_tag_name.outputs.tag }} \
|
|
|
|
--tag ${{ github.repository }}:${{ steps.identify_github_release_tag_name.outputs.tag }} \
|
|
|
|
|
|
|
|
--tag quay.io/${{ github.repository }}:${{ steps.generate_temporary_tag_name.outputs.test_tag }} \
|
|
|
|
|
|
|
|
--tag quay.io/${{ github.repository }}:latest \
|
|
|
|
|
|
|
|
--tag quay.io/${{ github.repository }}:${{ steps.identify_github_release_tag_name.outputs.tag }} \
|
|
|
|
--tag ghcr.io/${{ github.repository }}:${{ steps.generate_temporary_tag_name.outputs.test_tag }} \
|
|
|
|
--tag ghcr.io/${{ github.repository }}:${{ steps.generate_temporary_tag_name.outputs.test_tag }} \
|
|
|
|
--tag ghcr.io/${{ github.repository }}:latest \
|
|
|
|
--tag ghcr.io/${{ github.repository }}:latest \
|
|
|
|
--tag ghcr.io/${{ github.repository }}:${{ steps.identify_github_release_tag_name.outputs.tag }} \
|
|
|
|
--tag ghcr.io/${{ github.repository }}:${{ steps.identify_github_release_tag_name.outputs.tag }} \
|
|
|
@ -114,6 +123,15 @@ jobs:
|
|
|
|
command: |
|
|
|
|
command: |
|
|
|
|
docker push ${{ github.repository }}:latest
|
|
|
|
docker push ${{ github.repository }}:latest
|
|
|
|
docker push ${{ github.repository }}:${{ steps.identify_github_release_tag_name.outputs.tag }}
|
|
|
|
docker push ${{ github.repository }}:${{ steps.identify_github_release_tag_name.outputs.tag }}
|
|
|
|
|
|
|
|
- name: Push Docker image to Quay Container Registry
|
|
|
|
|
|
|
|
uses: nick-fields/retry@v2
|
|
|
|
|
|
|
|
with:
|
|
|
|
|
|
|
|
timeout_minutes: 30
|
|
|
|
|
|
|
|
max_attempts: 3
|
|
|
|
|
|
|
|
retry_wait_seconds: 120
|
|
|
|
|
|
|
|
command: |
|
|
|
|
|
|
|
|
docker push quay.io/${{ github.repository }}:latest
|
|
|
|
|
|
|
|
docker push quay.io/${{ github.repository }}:${{ steps.identify_github_release_tag_name.outputs.tag }}
|
|
|
|
- name: Push Docker image to GitHub Container Registry (GHCR)
|
|
|
|
- name: Push Docker image to GitHub Container Registry (GHCR)
|
|
|
|
uses: nick-fields/retry@v2
|
|
|
|
uses: nick-fields/retry@v2
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|