Skip to content

Commit

Permalink
fix: GQL Workflow Container Publishing ( Fixes #39 )
Browse files Browse the repository at this point in the history
Adding environment variable for main metadata extract
  • Loading branch information
James Brundage committed Dec 29, 2024
1 parent e06102c commit 33ec8df
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/BuildGQL.yml
Original file line number Diff line number Diff line change
Expand Up @@ -533,6 +533,9 @@ jobs:
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
flavor: latest=true
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
- name: Build and push Docker image (from main)
if: ${{github.ref_name == 'main' || github.ref_name == 'master' || github.ref_name == 'latest'}}
uses: docker/build-push-action@master
Expand Down
4 changes: 4 additions & 0 deletions Build/GitHub/Steps/BuildAndPublishContainer.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@
'images'='${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}'
'flavor'='latest=true'
}
env = @{
REGISTRY = 'ghcr.io'
IMAGE_NAME = '${{ github.repository }}'
}
}
@{
name = 'Build and push Docker image (from main)'
Expand Down

0 comments on commit 33ec8df

Please sign in to comment.