Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/build-and-push-docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_call:
inputs:
scope:
required: false
required: true
type: string
default: ""
repository:
Expand Down Expand Up @@ -37,7 +37,7 @@ jobs:
- name: Setup docker image name and downcase it
run: |
if [[ -z "${{ inputs.repository }}" ]]; then
export DOCKER_IMAGE_NAME="${{ secrets.ACR_URL }}/${{ github.event.repository.name }}:${{ github.ref_name }}"
export DOCKER_IMAGE_NAME="${{ secrets.ACR_URL }}/${{ inputs.scope }}/${{ github.event.repository.name }}:${{ github.ref_name }}"
else
export DOCKER_IMAGE_NAME="${{ secrets.ACR_URL }}/${{ inputs.repository }}:${{ github.ref_name }}"
fi
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-and-push-helm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_call:
inputs:
scope:
required: false
required: true
type: string
default: ""

Expand Down Expand Up @@ -54,7 +54,7 @@ jobs:

- name: Publish chart to ACR
run: |
helm push ${{ steps.set-chart-name.outputs.chart }}-${{ steps.set-chart-version.outputs.ver }}.tgz oci://${{ secrets.ACR_URL }}/helm
helm push ${{ steps.set-chart-name.outputs.chart }}-${{ steps.set-chart-version.outputs.ver }}.tgz oci://${{ secrets.ACR_URL }}/helm/${{ inputs.scope }}
working-directory: ./helm

update-helm-artifact-yaml:
Expand Down