From d9a328f8b35bb3cc94e5faff1fcf23d3ea039b9d Mon Sep 17 00:00:00 2001 From: Rajpal Chauhan Date: Tue, 9 Jan 2024 12:50:46 -0800 Subject: [PATCH] testing on 4.14.6 Signed-off-by: Rajpal Chauhan --- .github/workflows/actions/deploy/action.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/actions/deploy/action.yml b/.github/workflows/actions/deploy/action.yml index b537c05..57935f9 100644 --- a/.github/workflows/actions/deploy/action.yml +++ b/.github/workflows/actions/deploy/action.yml @@ -58,7 +58,7 @@ runs: # Installs the latest release of oc with the major version 3. # This is equivalent to "3.x" or "^3". - oc: "4.12.0" + oc: "4.14.6" - name: Setup Openshift CLI uses: redhat-actions/oc-login@v1 @@ -68,10 +68,13 @@ runs: - name: Login in to OpenShift container registry shell: bash + env: + REGISTRY_AUTH_FILE: ~/.docker/config.json + REGISTRY_AUTH_PREFERENCE: docker run: | oc version docker version - oc registry login + oc registry login - name: Tag the image in the GHCR as ${{ inputs.environment }} shell: bash