Skip to content

Commit bf98fc9

Browse files
authored
Merge pull request #372 from dgageot/remove-dead-code-build-date
Remove dead code
2 parents e2f14da + 8391553 commit bf98fc9

3 files changed

Lines changed: 1 addition & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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') }}

Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ FROM builder-base AS builder
1515
COPY . ./
1616
ARG GIT_TAG
1717
ARG GIT_COMMIT
18-
ARG BUILD_DATE
1918
ARG TARGETPLATFORM
2019
ARG TARGETOS
2120
ARG TARGETARCH

Taskfile.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ vars:
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

1515
tasks:

0 commit comments

Comments
 (0)