expose build SHA (#27542)
* expose build SHA * dbg * dbg * dbg * sub * oops * oops * try this * debugging * debugging * debugging * debugging * debugging * without quotes * typo * typo * singular * mention in Dockerfile * plural * does this work * does this work * tidying up * no cache * Update middleware/index.js Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com> Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
This commit is contained in:
@@ -187,6 +187,8 @@ jobs:
|
||||
cache-from: type=registry,ref=${{ secrets.NONPROD_REGISTRY_SERVER }}/${{ github.repository }}:main-preview
|
||||
# `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 }}
|
||||
|
||||
# Succeed despite any non-zero exit code (e.g. if there is no deployment to cancel)
|
||||
- name: 'Cancel any existing deployments for this PR'
|
||||
|
||||
@@ -85,6 +85,8 @@ jobs:
|
||||
tags: ${{ env.DOCKER_IMAGE }}, ${{ env.DOCKER_IMAGE_CACHE_REF }}
|
||||
cache-from: type=registry,ref=${{ env.DOCKER_IMAGE_CACHE_REF }}
|
||||
cache-to: type=registry,mode=max,ref=${{ env.DOCKER_IMAGE_CACHE_REF }}
|
||||
build-args: |
|
||||
BUILD_SHA=${{ github.sha }}
|
||||
|
||||
- name: 'Update docker-compose.prod.yaml template file'
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user