Skip to content

Commit 374a5f4

Browse files
ci: publish frontend image to Quay (#5313)
1 parent 4dc4a20 commit 374a5f4

1 file changed

Lines changed: 14 additions & 2 deletions

File tree

.github/workflows/platform-docker-build-test-publish.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ jobs:
155155
docker-username: ${{ vars.QUAY_PUBLISH_USERNAME }}
156156
docker-password-secret-name: QUAY_PUBLISH_PASSWORD
157157
source-images: ${{ needs.docker-build-private-cloud.outputs.image }}
158-
target-images: quay.io/flagsmithofficial/flagsmith-enterprise
158+
target-images: quay.io/${{ vars.QUAY_ORGANISATION_NAME }}/flagsmith-enterprise
159159
secrets: inherit
160160

161161
docker-publish-quay-enterprise-api:
@@ -167,7 +167,19 @@ jobs:
167167
docker-username: ${{ vars.QUAY_PUBLISH_USERNAME }}
168168
docker-password-secret-name: QUAY_PUBLISH_PASSWORD
169169
source-images: ${{ needs.docker-build-private-cloud-api.outputs.image }}
170-
target-images: quay.io/flagsmithofficial/flagsmith-enterprise-api
170+
target-images: quay.io/${{ vars.QUAY_ORGANISATION_NAME }}/flagsmith-enterprise-api
171+
secrets: inherit
172+
173+
docker-publish-quay-frontend:
174+
needs: [ docker-build-frontend, run-e2e-tests ]
175+
uses: ./.github/workflows/.reusable-docker-publish.yml
176+
if: github.event_name == 'release'
177+
with:
178+
target-registry-url: quay.io
179+
docker-username: ${{ vars.QUAY_PUBLISH_USERNAME }}
180+
docker-password-secret-name: QUAY_PUBLISH_PASSWORD
181+
source-images: ${{ needs.docker-build-frontend.outputs.image }}
182+
target-images: quay.io/${{ vars.QUAY_ORGANISATION_NAME }}/flagsmith-frontend
171183
secrets: inherit
172184

173185
update-charts:

0 commit comments

Comments
 (0)