File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -57,10 +57,22 @@ jobs:
5757 run : |
5858 echo "registry=$(echo '${{ steps.build-meta.outputs.tags }}' | cut -f1 -d:)" | tee -a "$GITHUB_OUTPUT"
5959
60+
61+ - id : set_build_url
62+ name : Set BUILD_URL
63+ run : |
64+ echo "build_url=${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}/actions/runs/${GITHUB_RUN_ID}" >> "$GITHUB_OUTPUT"
65+
6066 - id : build
6167 name : Build/push the arch-specific image
6268 uses : docker/build-push-action@v6
6369 with :
70+ build-args : |
71+ BUILD_TIMESTAMP=${{ github.event.repository.updated_at }}
72+ BUILD_URL=${{ steps.set_build_url.outputs.build_url }}
73+ GIT_REF_NAME=${{ github.ref_name }}
74+ GIT_SHA=${{ github.sha }}
75+ GIT_URL=${{ github.repositoryUrl }}
6476 cache-from : type=registry,ref=${{ steps.cache-meta.outputs.tags }}
6577 cache-to : type=registry,ref=${{ steps.cache-meta.outputs.tags }},mode=max
6678 labels : ${{ steps.build-meta.outputs.labels }}
You can’t perform that action at this time.
0 commit comments