Skip to content

Commit 19cf140

Browse files
YAML syntax
1 parent 5d79039 commit 19cf140

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.github/workflows/stage-3-build.yaml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -112,11 +112,7 @@ jobs:
112112
env:
113113
IMAGE_NAME: ${{ inputs.project_name }}-${{ matrix.function }}
114114
PR_NUMBER: ${{ github.event.pull_request.number }}
115-
REGISTRY_REPOSITORY_PATH: ${{
116-
env.USE_AZURECR == 'true' &&
117-
format('{0}.azurecr.io/{1}-{2}', secrets.ACR_NAME, inputs.project_name, matrix.function) ||
118-
format('ghcr.io/{0}/{1}-{2}', github.repository_owner, inputs.project_name, matrix.function)
119-
}}
115+
REGISTRY_REPOSITORY_PATH: ${{ env.USE_AZURECR == 'true' && format('{0}.azurecr.io/{1}-{2}', secrets.ACR_NAME, inputs.project_name, matrix.function) || format('ghcr.io/{0}/{1}-{2}', github.repository_owner, inputs.project_name, matrix.function) }}
120116
run: |
121117
short_commit_hash=$(git rev-parse --short ${GITHUB_SHA})
122118
echo "short_commit_hash: ${short_commit_hash}"

0 commit comments

Comments
 (0)