Skip to content

Commit 33ec8df

Browse files
author
James Brundage
committed
fix: GQL Workflow Container Publishing ( Fixes #39 )
Adding environment variable for main metadata extract
1 parent e06102c commit 33ec8df

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.github/workflows/BuildGQL.yml

+3
Original file line numberDiff line numberDiff line change
@@ -533,6 +533,9 @@ jobs:
533533
with:
534534
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
535535
flavor: latest=true
536+
env:
537+
REGISTRY: ghcr.io
538+
IMAGE_NAME: ${{ github.repository }}
536539
- name: Build and push Docker image (from main)
537540
if: ${{github.ref_name == 'main' || github.ref_name == 'master' || github.ref_name == 'latest'}}
538541
uses: docker/build-push-action@master

Build/GitHub/Steps/BuildAndPublishContainer.psd1

+4
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@
3232
'images'='${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}'
3333
'flavor'='latest=true'
3434
}
35+
env = @{
36+
REGISTRY = 'ghcr.io'
37+
IMAGE_NAME = '${{ github.repository }}'
38+
}
3539
}
3640
@{
3741
name = 'Build and push Docker image (from main)'

0 commit comments

Comments
 (0)