Use the generated package PAT
Some checks failed
Test, Build and Publish / test (push) Successful in 34s
Test, Build and Publish / build-and-push-images (push) Failing after 6s

This commit is contained in:
Marc Di Luzio 2024-08-25 21:33:08 +01:00
parent 3051db5a44
commit 895bb9797f

View file

@ -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