Skip to content

Commit d1e96fa

Browse files
authored
Merge pull request #164 from docker/buildargs
add buildargs to image build
2 parents 5dd7bb7 + 34993fd commit d1e96fa

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,4 +133,10 @@ jobs:
133133
provenance: mode=max
134134
tags: ${{ steps.meta.outputs.tags }}
135135
labels: ${{ steps.meta.outputs.labels }}
136-
build-args: GIT_COMMIT=${{ github.sha }}
136+
build-args: |
137+
GIT_TAG=${{ github.ref_name }}
138+
GIT_COMMIT=${{ github.sha }}
139+
BUILD_DATE=${{ steps.meta.outputs.created }}
140+
TELEMETRY_ENDPOINT=${{ secrets.TELEMETRY_ENDPOINT }}
141+
TELEMETRY_API_KEY=${{ secrets.TELEMETRY_API_KEY }}
142+
TELEMETRY_HEADER=${{ secrets.TELEMETRY_HEADER }}

0 commit comments

Comments
 (0)