|
78 | 78 | id: meta |
79 | 79 | uses: docker/metadata-action@v5 |
80 | 80 | with: |
81 | | - images: rabbitmqoperator/messaging-topology-operator |
| 81 | + images: | |
| 82 | + rabbitmqoperator/messaging-topology-operator |
| 83 | + quay.io/rabbitmqoperator/messaging-topology-operator |
82 | 84 | # generate Docker tags based on the following events/attributes |
83 | 85 | tags: | |
84 | 86 | type=sha |
|
97 | 99 | username: ${{ secrets.DOCKERHUB_USERNAME }} |
98 | 100 | password: ${{ secrets.DOCKERHUB_TOKEN }} |
99 | 101 |
|
| 102 | + - name: Login to Quay.io |
| 103 | + if: ${{ startsWith(github.ref, 'refs/tags/v') }} |
| 104 | + uses: docker/login-action@v3 |
| 105 | + with: |
| 106 | + username: ${{ secrets.QUAY_USERNAME }} |
| 107 | + password: ${{ secrets.QUAY_ROBOT_TOKEN }} |
| 108 | + |
100 | 109 | - name: Build and push |
101 | 110 | if: ${{ startsWith(github.ref, 'refs/tags/v') }} |
102 | 111 | uses: docker/build-push-action@v6 |
@@ -138,7 +147,7 @@ jobs: |
138 | 147 | kustomize edit set image \ |
139 | 148 | rabbitmqoperator/messaging-topology-operator-dev=rabbitmqoperator/messaging-topology-operator:"${RELEASE_VERSION}" |
140 | 149 | popd |
141 | | - make generate-manifests |
| 150 | + make generate-manifests QUAY_IO_OPERATOR_IMAGE=quay.io/rabbitmqoperator/messaging-topology-operator:"${RELEASE_VERSION}" |
142 | 151 |
|
143 | 152 | - name: Upload operator manifests |
144 | 153 | uses: actions/upload-artifact@v4 |
@@ -248,6 +257,8 @@ jobs: |
248 | 257 | files: | |
249 | 258 | messaging-topology-operator.yaml |
250 | 259 | messaging-topology-operator-with-certmanager.yaml |
| 260 | + messaging-topology-operator-quay-io.yaml |
| 261 | + messaging-topology-operator-with-certmanager-quay-io.yaml |
251 | 262 | generate_release_notes: true |
252 | 263 | draft: true |
253 | 264 | fail_on_unmatched_files: true |
|
0 commit comments