Skip to content

Commit 39829df

Browse files
committed
fix: correct short SHA variable reference in Docker build and push steps
1 parent 0b4e274 commit 39829df

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,11 @@ jobs:
7575
login-server: ${{ secrets.ACR_LOGIN_SERVER }}
7676
username: ${{ secrets.ACR_LOGIN_USERNAME }}
7777
password: ${{ secrets.ACR_LOGIN_PASSWORD }}
78+
7879
- run: |
7980
80-
docker build -t ${{ secrets.ACR_LOGIN_SERVER }}/express-server:${{ steps.short-sha.outputs.short_sha }} .
81+
docker build -t ${{ secrets.ACR_LOGIN_SERVER }}/express-server:${{ steps.short-sha.outputs.sha }} .
8182
docker build -t ${{ secrets.ACR_LOGIN_SERVER }}/express-server:latest .
8283
83-
docker push ${{ secrets.ACR_LOGIN_SERVER }}/express-server:${{ steps.short-sha.outputs.short_sha }}
84+
docker push ${{ secrets.ACR_LOGIN_SERVER }}/express-server:${{ steps.short-sha.outputs.sha }}
8485
docker push ${{ secrets.ACR_LOGIN_SERVER }}/express-server:latest

0 commit comments

Comments
 (0)