From bf2af7fa5faaa4c110c03101ad13fa21e69639d4 Mon Sep 17 00:00:00 2001 From: gabriel-farache Date: Wed, 14 Feb 2024 10:59:13 +0100 Subject: [PATCH] Rename m2k kfunc to use kind.local registry instead of quay.io --- .github/workflows/m2k-func.yaml | 2 +- .github/workflows/move2kube-e2e.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/m2k-func.yaml b/.github/workflows/m2k-func.yaml index f13ea3b8..6da6ce32 100644 --- a/.github/workflows/m2k-func.yaml +++ b/.github/workflows/m2k-func.yaml @@ -50,7 +50,7 @@ jobs: if: ${{ ! inputs.push_pr }} run: | buildah push serverless-workflow-m2k-kfunc:${{ github.sha }} \ - oci-archive:serverless-workflow-m2k-kfunc-${{ github.sha }}.tar:quay.io/orchestrator/serverless-workflow-m2k-kfunc:${{ github.sha }} + oci-archive:serverless-workflow-m2k-kfunc-${{ github.sha }}.tar:kind.local/orchestrator/serverless-workflow-m2k-kfunc:${{ github.sha }} - name: Save OCI archive if: ${{ ! inputs.push_pr }} diff --git a/.github/workflows/move2kube-e2e.yaml b/.github/workflows/move2kube-e2e.yaml index e35f4747..a7b46b24 100644 --- a/.github/workflows/move2kube-e2e.yaml +++ b/.github/workflows/move2kube-e2e.yaml @@ -118,7 +118,7 @@ jobs: ###### workaround till https://issues.redhat.com/browse/FLPATH-892 is solved yq --inplace '.spec.template.spec.containers[0] |= ( . + {"imagePullPolicy": "IfNotPresent"} )' e2e/resources/knative-service.yaml ###### end workaround - yq --inplace '.spec.template.spec.containers[0] |= ( . + {"image": "quay.io/orchestrator/serverless-workflow-m2k-kfunc:${{ github.sha }}"} )' e2e/resources/knative-service.yaml + yq --inplace '.spec.template.spec.containers[0] |= ( . + {"image": "kind.local/orchestrator/serverless-workflow-m2k-kfunc:${{ github.sha }}"} )' e2e/resources/knative-service.yaml # deploy the manifests created by the ${{ steps.build-image.outputs.image }}" kubectl apply -f e2e/resources/knative-service.yaml kubectl apply -f e2e/resources/knative-resources.yaml