trying to fix permissions error when pulling docker images without auth.

This commit is contained in:
Jason Kulatunga 2024-02-21 14:15:36 -08:00
parent 43dc56c651
commit 21d12dd312
No known key found for this signature in database
1 changed files with 8 additions and 0 deletions

View File

@ -57,6 +57,14 @@ jobs:
type=raw,value=${{ matrix.flavor }},enable=${{ github.ref_name == 'main' }}
# if this is a (non main) branch build, tag it with the flavor and branch name (eg. main-branch and sandbox-branch)
type=ref,event=branch,prefix=${{ matrix.flavor }}-,enable=${{ github.ref_name != 'main' }}
labels: |
maintainer=AnalogJ
org.opencontainers.image.title=Fasten Health - ${{ matrix.flavor }}
org.opencontainers.image.authors=Jason Kulatunga - support@fastenhealth.com
org.opencontainers.image.description=An open-source personal medical record that never leaves the patients hands without their consent
org.opencontainers.image.vendor=Fasten Health, Inc.
org.opencontainers.image.source=https://github.com/fastenhealth/fasten-onprem/
org.opencontainers.image.revision=${{ github.sha }}
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
# Build and push Docker image with Buildx (don't push on PR)
# https://github.com/docker/build-push-action