diff --git a/.github/workflows/build-images.yaml b/.github/workflows/build-images.yaml index 071d52d93..59d793269 100644 --- a/.github/workflows/build-images.yaml +++ b/.github/workflows/build-images.yaml @@ -123,8 +123,6 @@ jobs: steps: - uses: actions/checkout@v4 - with: - fetch-depth: 0 # fetch all, so that we also include tags - uses: actions/setup-go@v5 with: diff --git a/autoscale-scheduler/Dockerfile b/autoscale-scheduler/Dockerfile index dd7e677b1..c746f27ee 100644 --- a/autoscale-scheduler/Dockerfile +++ b/autoscale-scheduler/Dockerfile @@ -1,8 +1,6 @@ ARG GO_BASE_IMG=autoscaling-go-base:dev FROM $GO_BASE_IMG AS builder -ARG GIT_INFO - COPY . . # NOTE: Build flags here must be the same as in the base image, otherwise we'll rebuild # dependencies. See /Dockerfile.go-base for detail on the "why". diff --git a/autoscaler-agent/Dockerfile b/autoscaler-agent/Dockerfile index 2cab749a5..51f5db5bf 100644 --- a/autoscaler-agent/Dockerfile +++ b/autoscaler-agent/Dockerfile @@ -1,8 +1,6 @@ ARG GO_BASE_IMG=autoscaling-go-base:dev FROM $GO_BASE_IMG AS builder -ARG GIT_INFO - COPY . . # NOTE: Build env vars here must be the same as in the base image, otherwise we'll rebuild # dependencies.