From 7671167e8badcdddce7d955aa0f72587815dbe23 Mon Sep 17 00:00:00 2001 From: Silvija Tovernic Date: Sat, 21 Sep 2024 18:57:42 +0200 Subject: [PATCH] replace registry var --- .github/workflows/docker-build-if-runner.yml | 4 ++-- .github/workflows/reusable-workflow-docker-image.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker-build-if-runner.yml b/.github/workflows/docker-build-if-runner.yml index 76d15408..9345f00a 100644 --- a/.github/workflows/docker-build-if-runner.yml +++ b/.github/workflows/docker-build-if-runner.yml @@ -14,7 +14,7 @@ jobs: env: IMAGE_NAME: "image-factory-runner" IMAGE_TAG: "${{ github.run_number }}" - REGISTRY: ${{ secrets.REGISTRY }} + REGISTRY: ${{ vars.REGISTRY }} steps: - name: Checkout Repository @@ -23,7 +23,7 @@ jobs: - name: Log in to Azure Container Registry uses: azure/docker-login@v1 with: - login-server: ${{ secrets.REGISTRY }} + login-server: ${{ vars.REGISTRY }} username: ${{ secrets.ACR_USERNAME }} password: ${{ secrets.ACR_PASSWORD }} diff --git a/.github/workflows/reusable-workflow-docker-image.yml b/.github/workflows/reusable-workflow-docker-image.yml index 174ed9c1..fe090686 100644 --- a/.github/workflows/reusable-workflow-docker-image.yml +++ b/.github/workflows/reusable-workflow-docker-image.yml @@ -20,7 +20,7 @@ jobs: env: IMAGE_NAME: ${{ inputs.image-name }} IMAGE_TAG: "${{ github.run_number }}" - REGISTRY: ${{ secrets.REGISTRY }} + REGISTRY: ${{ vars.REGISTRY }} DOCKER_DIR: ${{ inputs.docker-dir }} PLATFORM: ${{ inputs.platform }}