File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -132,4 +132,3 @@ jobs:
132132 build-args : |
133133 GIT_TAG=${{ github.ref_name }}
134134 GIT_COMMIT=${{ github.sha }}
135- BUILD_DATE=${{ steps.meta.outputs.created || github.event.repository.updated_at || format('YYYY-MM-DD') }}
Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ FROM builder-base AS builder
1515COPY . ./
1616ARG GIT_TAG
1717ARG GIT_COMMIT
18- ARG BUILD_DATE
1918ARG TARGETPLATFORM
2019ARG TARGETOS
2120ARG TARGETARCH
Original file line number Diff line number Diff line change 99 GIT_COMMIT :
1010 sh : git rev-parse HEAD
1111 GO_SOURCES : " **/*.go"
12- BUILD_ARGS : ' --build-arg GIT_TAG="{{.GIT_TAG}}" --build-arg GIT_COMMIT="{{.GIT_COMMIT}}" --build-arg BUILD_DATE="{{.BUILD_DATE}}" '
12+ BUILD_ARGS : ' --build-arg GIT_TAG="{{.GIT_TAG}}" --build-arg GIT_COMMIT="{{.GIT_COMMIT}}"'
1313 LDFLAGS : ' -X "github.com/docker/cagent/pkg/version.Version={{.GIT_TAG}}" -X "github.com/docker/cagent/pkg/version.Commit={{.GIT_COMMIT}}"'
1414
1515tasks :
You can’t perform that action at this time.
0 commit comments