From 06802c6ebd0e9db4926b2283b9cef475571cae88 Mon Sep 17 00:00:00 2001 From: Markus Date: Thu, 13 Aug 2026 15:22:14 +0300 Subject: [PATCH] cicd: move to version helsinki registry --- .github/workflows/production.yaml | 20 ++++++++++---------- .github/workflows/staging.yaml | 20 ++++++++++---------- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/.github/workflows/production.yaml b/.github/workflows/production.yaml index 6bd32e2..f6c8468 100644 --- a/.github/workflows/production.yaml +++ b/.github/workflows/production.yaml @@ -15,7 +15,7 @@ jobs: id: build-backend uses: redhat-actions/buildah-build@v2 with: - image: backend + image: ohtuilmo-backend tags: production ${{ github.sha }} context: backend/ containerfiles: | @@ -26,27 +26,27 @@ jobs: id: build-frontend uses: redhat-actions/buildah-build@v2 with: - image: frontend + image: ohtuilmo-frontend tags: production ${{ github.sha }} context: frontend/ containerfiles: | frontend/Dockerfile build-args: NODE_ENV="production" - - name: Push backend to quay.io + - name: Push backend to registry.version.helsinki.fi uses: redhat-actions/push-to-registry@v2 with: image: ${{ steps.build-backend.outputs.image }} tags: ${{ steps.build-backend.outputs.tags }} - registry: quay.io/ohtuilmo - username: ohtuilmo+github - password: ${{ secrets.QUAY_PASSWORD }} + registry: registry.version.helsinki.fi/toska/openshift/kontit/ + username: kontit + password: ${{ secrets.VERSION_PUSH_SECRET }} - - name: Push frontend to quay.io + - name: Push frontend to registry.version.helsinki.fi uses: redhat-actions/push-to-registry@v2 with: image: ${{ steps.build-frontend.outputs.image }} tags: ${{ steps.build-frontend.outputs.tags }} - registry: quay.io/ohtuilmo - username: ohtuilmo+github - password: ${{ secrets.QUAY_PASSWORD }} + registry: registry.version.helsinki.fi/toska/openshift/kontit/ + username: kontit + password: ${{ secrets.VERSION_PUSH_SECRET }} diff --git a/.github/workflows/staging.yaml b/.github/workflows/staging.yaml index b1b462c..da8aa6e 100644 --- a/.github/workflows/staging.yaml +++ b/.github/workflows/staging.yaml @@ -16,7 +16,7 @@ jobs: id: build-backend uses: redhat-actions/buildah-build@v2 with: - image: backend + image: ohtuilmo-backend tags: staging ${{ github.sha }} context: backend/ containerfiles: | @@ -27,27 +27,27 @@ jobs: id: build-frontend uses: redhat-actions/buildah-build@v2 with: - image: frontend + image: ohtuilmo-frontend tags: staging ${{ github.sha }} context: frontend/ containerfiles: | frontend/Dockerfile build-args: NODE_ENV="staging" - - name: Push backend to quay.io + - name: Push backend to registry.version.helsinki.fi uses: redhat-actions/push-to-registry@v2 with: image: ${{ steps.build-backend.outputs.image }} tags: ${{ steps.build-backend.outputs.tags }} - registry: quay.io/ohtuilmo - username: ohtuilmo+github - password: ${{ secrets.QUAY_PASSWORD }} + registry: registry.version.helsinki.fi/toska/openshift/kontit/ + username: kontit + password: ${{ secrets.VERSION_PUSH_SECRET }} - - name: Push frontend to quay.io + - name: Push frontend to registry.version.helsinki.fi uses: redhat-actions/push-to-registry@v2 with: image: ${{ steps.build-frontend.outputs.image }} tags: ${{ steps.build-frontend.outputs.tags }} - registry: quay.io/ohtuilmo - username: ohtuilmo+github - password: ${{ secrets.QUAY_PASSWORD }} + registry: registry.version.helsinki.fi/toska/openshift/kontit/ + username: kontit + password: ${{ secrets.VERSION_PUSH_SECRET }}