Skip to content

Commit

Permalink
Merge pull request #376 from doitintl/fix/dockerFullPath
Browse files Browse the repository at this point in the history
fix: Full path of the docker registry
  • Loading branch information
stepanstipl authored Oct 3, 2022
2 parents 4582f53 + 1efa7f5 commit 841b420
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -169,14 +169,14 @@ jobs:
with:
context: .
push: true
tags: ${{ env.IMAGE_NAME }}:${{ needs.create-release.outputs.tag_name }}
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ needs.create-release.outputs.tag_name }}
- name: Push latest
uses: docker/build-push-action@v3
if: ${{ !contains(github.ref, 'nightly') }}
with:
context: .
push: true
tags: ${{ env.IMAGE_NAME }}:latest
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
release-artifacts:
name: Release Artifacts
needs:
Expand Down
2 changes: 1 addition & 1 deletion scripts/changelog.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,4 @@
{{- end -}}

**Docker Image**:
{{ expandenv "ghcr.io/$GH_ORG/$GH_REPO:$GITHUB_REF_NAME" }}
{{ expandenv "$REGISTRY/$IMAGE_NAME:$GITHUB_REF_NAME" }}

0 comments on commit 841b420

Please sign in to comment.