1
0
mirror of synced 2026-01-03 06:04:16 -05:00

using env.COMMIT_REF not github.sha for the BUILD_SHA (#27989)

This commit is contained in:
Peter Bengtsson
2022-05-27 18:52:17 -04:00
committed by GitHub
parent 16ecb94a8a
commit c35b134806

View File

@@ -188,7 +188,7 @@ jobs:
# `main-docker-cache.yml` handles updating the remote cache so we don't pollute it with PR specific code
cache-to: ''
build-args: |
BUILD_SHA=${{ github.sha }}
BUILD_SHA=${{ env.COMMIT_REF }}
# Succeed despite any non-zero exit code (e.g. if there is no deployment to cancel)
- name: 'Cancel any existing deployments for this PR'