Add build arguments to Docker workflow for enhanced image metadata
- Included BUILD_DATE, VCS_REF, and VERSION as build arguments in the Docker workflow to improve image documentation and traceability.
This commit is contained in:
@@ -62,3 +62,7 @@ jobs:
|
||||
push: ${{ github.event_name != 'pull_request' }}
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
build-args: |
|
||||
BUILD_DATE=${{ github.event.head_commit.timestamp }}
|
||||
VCS_REF=${{ github.sha }}
|
||||
VERSION=${{ steps.meta.outputs.version }}
|
||||
|
||||
Reference in New Issue
Block a user