Use the generated package PAT
This commit is contained in:
parent
3051db5a44
commit
895bb9797f
1 changed files with 6 additions and 3 deletions
|
@ -9,6 +9,9 @@ on:
|
|||
pull_request:
|
||||
workflow_dispatch:
|
||||
|
||||
env:
|
||||
REGISTRY: forge.mdiluz.io
|
||||
|
||||
jobs:
|
||||
|
||||
# Run the tests scripts
|
||||
|
@ -49,9 +52,9 @@ jobs:
|
|||
- name: Log in to the Container registry
|
||||
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
|
||||
with:
|
||||
registry: forge.mdiluz.io
|
||||
registry: ${{ env.REGISTRY }}
|
||||
username: ${{ env.GITHUB_ACTOR }}
|
||||
password: ${{ env.GITHUB_TOKEN }}
|
||||
password: ${{ env.PACKAGE_PAT }}
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
@ -60,7 +63,7 @@ jobs:
|
|||
id: meta
|
||||
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
|
||||
with:
|
||||
images: forge.mdiluz.io/mdiluz/matchy
|
||||
images: ${{ env.REGISTRY }}/${{ env.GITHUB_REPOSITORY }}
|
||||
tags: |
|
||||
type=ref,event=tag
|
||||
type=ref,event=branch
|
||||
|
|
Loading…
Add table
Reference in a new issue