|
22 | 22 | registry: ghcr.io |
23 | 23 | username: ${{ github.repository_owner }} |
24 | 24 | password: ${{ secrets.CR_PAT }} |
| 25 | + - name: Login to Quay |
| 26 | + uses: docker/login-action@v2 |
| 27 | + with: |
| 28 | + registry: quay.io |
| 29 | + username: ${{ secrets.QUAY_USERNAME }} |
| 30 | + password: ${{ secrets.QUAY_TOKEN }} |
25 | 31 | - name: Login to GitLab |
26 | 32 | uses: docker/login-action@v2 |
27 | 33 | with: |
|
81 | 87 | --tag ${{ github.repository }}:${{ steps.generate_temporary_tag_name.outputs.test_tag }} \ |
82 | 88 | --tag ${{ github.repository }}:latest \ |
83 | 89 | --tag ${{ github.repository }}:${{ steps.identify_github_release_tag_name.outputs.tag }} \ |
| 90 | + --tag quay.io/${{ github.repository }}:${{ steps.generate_temporary_tag_name.outputs.test_tag }} \ |
| 91 | + --tag quay.io/${{ github.repository }}:latest \ |
| 92 | + --tag quay.io/${{ github.repository }}:${{ steps.identify_github_release_tag_name.outputs.tag }} \ |
84 | 93 | --tag ghcr.io/${{ github.repository }}:${{ steps.generate_temporary_tag_name.outputs.test_tag }} \ |
85 | 94 | --tag ghcr.io/${{ github.repository }}:latest \ |
86 | 95 | --tag ghcr.io/${{ github.repository }}:${{ steps.identify_github_release_tag_name.outputs.tag }} \ |
@@ -114,6 +123,15 @@ jobs: |
114 | 123 | command: | |
115 | 124 | docker push ${{ github.repository }}:latest |
116 | 125 | docker push ${{ github.repository }}:${{ steps.identify_github_release_tag_name.outputs.tag }} |
| 126 | + - name: Push Docker image to Quay Container Registry |
| 127 | + uses: nick-fields/retry@v2 |
| 128 | + with: |
| 129 | + timeout_minutes: 30 |
| 130 | + max_attempts: 3 |
| 131 | + retry_wait_seconds: 120 |
| 132 | + command: | |
| 133 | + docker push quay.io/${{ github.repository }}:latest |
| 134 | + docker push quay.io/${{ github.repository }}:${{ steps.identify_github_release_tag_name.outputs.tag }} |
117 | 135 | - name: Push Docker image to GitHub Container Registry (GHCR) |
118 | 136 | uses: nick-fields/retry@v2 |
119 | 137 | with: |
|
0 commit comments