update all container tags with date and sha, upgrade all containers (#9834)

Signed-off-by: James Strong <strong.james.e@gmail.com>
This commit is contained in:
James Strong 2023-04-06 13:25:48 -04:00 committed by GitHub
parent 522683813a
commit 26d83d1b20
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
24 changed files with 90 additions and 68 deletions

View file

@ -21,7 +21,7 @@ DIR:=$(strip $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST)))))
INIT_BUILDX=$(DIR)/../../hack/init-buildx.sh
# 0.0.0 shouldn't clobber any released builds
TAG ?= 0.0
TAG ?=v$(shell date +%Y%m%d)-$(shell git rev-parse --short HEAD)
REGISTRY ?= gcr.io/k8s-staging-ingress-nginx
IMAGE = $(REGISTRY)/nginx

View file

@ -9,7 +9,6 @@ steps:
env:
- DOCKER_CLI_EXPERIMENTAL=enabled
- BASE_REF=$_PULL_BASE_REF
- TAG=$_PULL_BASE_SHA
- REGISTRY=gcr.io/k8s-staging-ingress-nginx
- HOME=/root
args:

View file

@ -17,7 +17,7 @@ COPY . /
RUN apk update \
&& apk upgrade \
&& apk add -U bash \
&& apk add -U bash --no-cache \
&& /build.sh
# Use a multi-stage build