Skip to content

Commit

Permalink
replace registry var
Browse files Browse the repository at this point in the history
  • Loading branch information
Silvija Tovernic committed Sep 21, 2024
1 parent d4ad839 commit 7671167
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker-build-if-runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable-workflow-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand Down

0 comments on commit 7671167

Please sign in to comment.