Commit 2c7fd17 1 parent 6672eba commit 2c7fd17 Copy full SHA for 2c7fd17
File tree 1 file changed +3
-1
lines changed
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -111,11 +111,12 @@ jobs:
111
111
with :
112
112
inlineScript : |
113
113
BRANCH_NAME="${{ inputs.branchName }}"
114
+ SHA_SHORT="${{ needs.build.outputs.sha-short }}"
114
115
REF_SHA="${{ inputs.branchName }}.${{ needs.build.outputs.sha-short }}"
115
116
DEPLOYMENT_NAME="${REF_SHA////-}"
116
117
echo "DEPLOYMENT_NAME=$DEPLOYMENT_NAME"
117
118
118
- webServiceImage="${{ needs.build.outputs.image-name }}:sha-${{ needs.build.outputs.sha-short }} "
119
+ webServiceImage="${{ needs.build.outputs.image-name }}:sha-$SHA_SHORT "
119
120
echo "webServiceImage=$webServiceImage"
120
121
121
122
if [ "$BRANCH_NAME" == "main" ]; then
@@ -136,6 +137,7 @@ jobs:
136
137
containerRegistryUsername=${{ github.actor }} \
137
138
containerRegistryPassword=${{ secrets.PACKAGES_TOKEN }} \
138
139
branchName="$BRANCH_NAME" \
140
+ gitSha="$SHA_SHORT" \
139
141
workspaceName='shared-log-analytics' \
140
142
appInsightsName='shared-app-insights' \
141
143
managedEnvironmentName='shared-env' \
You can’t perform that action at this time.
0 commit comments