Use var.DOCKER_REGISTRY for the registry location
This commit is contained in:
parent
c6e252a82a
commit
f4d2c45d94
1 changed files with 2 additions and 5 deletions
|
@ -9,9 +9,6 @@ on:
|
||||||
pull_request:
|
pull_request:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
env:
|
|
||||||
REGISTRY: forge.mdiluz.io
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
# Run the tests scripts
|
# Run the tests scripts
|
||||||
|
@ -46,7 +43,7 @@ jobs:
|
||||||
- name: Log in to the Container registry
|
- name: Log in to the Container registry
|
||||||
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
|
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
|
||||||
with:
|
with:
|
||||||
registry: ${{ env.REGISTRY }}
|
registry: ${{ var.DOCKER_REGISTRY }}
|
||||||
username: ${{ env.GITHUB_ACTOR }}
|
username: ${{ env.GITHUB_ACTOR }}
|
||||||
password: ${{ secrets.PACKAGE_PAT }}
|
password: ${{ secrets.PACKAGE_PAT }}
|
||||||
|
|
||||||
|
@ -57,7 +54,7 @@ jobs:
|
||||||
id: meta
|
id: meta
|
||||||
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
|
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
|
||||||
with:
|
with:
|
||||||
images: ${{ env.REGISTRY }}/${{ env.GITHUB_REPOSITORY }}
|
images: ${{ var.DOCKER_REGISTRY }}/${{ env.GITHUB_REPOSITORY }}
|
||||||
tags: |
|
tags: |
|
||||||
type=ref,event=tag
|
type=ref,event=tag
|
||||||
type=ref,event=branch
|
type=ref,event=branch
|
||||||
|
|
Loading…
Add table
Reference in a new issue