Skip to content

Commit 6aa8460

Browse files
author
kranurag7
committed
remove usage of latest tag
we always use the image by version and propogating latest tag is not required. Signed-off-by: kranurag7 <[email protected]>
1 parent 0ce9c29 commit 6aa8460

File tree

3 files changed

+0
-38
lines changed

3 files changed

+0
-38
lines changed

.github/workflows/main-promote-builder-image.yml

Lines changed: 0 additions & 28 deletions
This file was deleted.

Makefile

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -272,12 +272,6 @@ set-manifest-pull-policy:
272272
$(info Updating kustomize pull policy file for default resource)
273273
sed -i'' -e 's@imagePullPolicy: .*@imagePullPolicy: '"$(PULL_POLICY)"'@' $(TARGET_RESOURCE)
274274

275-
builder-image-promote-latest:
276-
./hack/ensure-env-variables.sh USERNAME PASSWORD
277-
skopeo copy --src-creds=$(USERNAME):$(PASSWORD) --dest-creds=$(USERNAME):$(PASSWORD) \
278-
docker://$(BUILDER_IMAGE):$(BUILDER_IMAGE_VERSION) \
279-
docker://$(BUILDER_IMAGE):latest
280-
281275
##@ Binary
282276
##########
283277
# Binary #

images/builder/Dockerfile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,6 @@ ARG KUBECTL_VERSION="v1.27.3"
4141
ARG KUSTOMIZE_VERSION="v5.3.0"
4242
# renovate: datasource=github-tags depName=aquasecurity/trivy
4343
ARG TRIVY_VERSION="v0.48.3"
44-
# renovate: datasource=github-tags depName=containers/skopeo
45-
ARG SKOPEO_VERSION="v1.14.1"
4644
# renovate: datasource=github-tags depName=kubernetes-sigs/controller-tools
4745
ARG CONTROLLER_GEN_VERSION="v0.14.0"
4846

@@ -55,7 +53,6 @@ RUN apk add -U --no-cache \
5553
kind=~${KIND_VERSION#v} \
5654
kubectl=~${KUBECTL_VERSION#v} \
5755
kustomize=~${KUSTOMIZE_VERSION#v} \
58-
skopeo=~${SKOPEO_VERSION#v} \
5956
trivy=~${TRIVY_VERSION#v}
6057

6158
# Install Golang CI Lint
@@ -97,7 +94,6 @@ COPY --from=wolfi /usr/bin/helm /usr/bin/helm
9794
COPY --from=wolfi /usr/bin/kubectl /usr/bin/kubectl
9895
COPY --from=wolfi /usr/bin/kind /usr/bin/kind
9996
COPY --from=wolfi /usr/bin/kustomize /usr/bin/kustomize
100-
COPY --from=wolfi /usr/bin/skopeo /usr/bin/skopeo
10197
COPY --from=wolfi /usr/bin/trivy /usr/bin/trivy
10298
COPY --from=lychee /usr/bin/lychee /usr/bin/lychee
10399
COPY --from=golangci /bin/golangci-lint /usr/local/bin

0 commit comments

Comments
 (0)