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:
parent
522683813a
commit
26d83d1b20
24 changed files with 90 additions and 68 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue