Skip to content

Commit

Permalink
remove usage of latest tag in builder image (#115)
Browse files Browse the repository at this point in the history
we don't use latest tag anywhere for workign with
builder image and this commit removes the same.

Signed-off-by: kranurag7 <anurag.kumar@syself.com>
  • Loading branch information
kranurag7 authored Feb 29, 2024
1 parent 3b8df52 commit d911179
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 37 deletions.
28 changes: 0 additions & 28 deletions .github/workflows/main-promote-builder-image.yaml

This file was deleted.

6 changes: 0 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -475,12 +475,6 @@ set-manifest-pull-policy:
$(info Updating kustomize pull policy file for default resource)
sed -i'' -e 's@imagePullPolicy: .*@imagePullPolicy: '"$(PULL_POLICY)"'@' $(TARGET_RESOURCE)

builder-image-promote-latest:
./hack/ensure-env-variables.sh USERNAME PASSWORD
skopeo copy --src-creds=$(USERNAME):$(PASSWORD) --dest-creds=$(USERNAME):$(PASSWORD) \
docker://$(BUILDER_IMAGE):$(BUILDER_IMAGE_VERSION) \
docker://$(BUILDER_IMAGE):latest

##@ Generate
############
# Generate #
Expand Down
3 changes: 0 additions & 3 deletions images/builder/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ FROM docker.io/aquasec/trivy:0.49.0@sha256:c71420cd77f136e8e900f71d272fb89075f60
############################
FROM docker.io/library/golang:1.21.6-bullseye@sha256:fa52abd182d334cfcdffdcc934e21fcfbc71c3cde568e606193ae7db045b1b8d

# update: datasource=repology depName=debian_11/skopeo versioning=loose
ENV SKOPEO_VERSION="1.2.2+dfsg1-1+b6"
# update: datasource=github-tags depName=adrienverge/yamllint versioning=semver
ENV YAMLLINT_VERSION="v1.33.0"
# update: datasource=github-tags depName=opt-nc/yamlfixer versioning=semver
Expand All @@ -62,7 +60,6 @@ RUN apt-get update && \
apt-get install -qy --no-install-recommends \
gnupg python3 python3-pip \
file zip unzip jq gettext \
skopeo=${SKOPEO_VERSION} \
protobuf-compiler libprotobuf-dev \
libsystemd-dev jq && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && \
Expand Down

0 comments on commit d911179

Please sign in to comment.