File tree Expand file tree Collapse file tree 11 files changed +4
-48
lines changed Expand file tree Collapse file tree 11 files changed +4
-48
lines changed Original file line number Diff line number Diff line change @@ -23,8 +23,6 @@ TAG ?=v$(shell date +%Y%m%d)-$(SHORT_SHA)
23
23
24
24
REGISTRY ?= local
25
25
26
-
27
-
28
26
IMAGE = $(REGISTRY ) /e2e-test-cfssl
29
27
30
28
# required to enable buildx
Original file line number Diff line number Diff line change 6
6
entrypoint : bash
7
7
env :
8
8
- DOCKER_CLI_EXPERIMENTAL=enabled
9
- - SHORT_SHA=$SHORT_SHA
10
- - BASE_REF=$_PULL_BASE_REF
11
9
- REGISTRY=gcr.io/k8s-staging-ingress-nginx
12
10
# default cloudbuild has HOME=/builder/home and docker buildx is in /root/.docker/cli-plugins/docker-buildx
13
11
# set the home to /root explicitly to if using docker buildx
17
15
- |
18
16
gcloud auth configure-docker \
19
17
&& cd images/cfssl && make push
20
- substitutions :
21
- _GIT_TAG : " 12345"
22
- _PULL_BASE_REF : " master"
Original file line number Diff line number Diff line change 6
6
entrypoint : bash
7
7
env :
8
8
- DOCKER_CLI_EXPERIMENTAL=enabled
9
- - SHORT_SHA=$SHORT_SHA
10
- - BASE_REF=$_PULL_BASE_REF
11
9
- REGISTRY=gcr.io/k8s-staging-ingress-nginx
12
10
# default cloudbuild has HOME=/builder/home and docker buildx is in /root/.docker/cli-plugins/docker-buildx
13
11
# set the home to /root explicitly to if using docker buildx
17
15
- |
18
16
gcloud auth configure-docker \
19
17
&& cd images/custom-error-pages && make push
20
- substitutions :
21
- _GIT_TAG : " 12345"
22
- _PULL_BASE_REF : " master"
Original file line number Diff line number Diff line change 6
6
entrypoint : bash
7
7
env :
8
8
- DOCKER_CLI_EXPERIMENTAL=enabled
9
- - SHORT_SHA=$SHORT_SHA
10
- - BASE_REF=$_PULL_BASE_REF
11
9
- REGISTRY=gcr.io/k8s-staging-ingress-nginx
12
10
# default cloudbuild has HOME=/builder/home and docker buildx is in /root/.docker/cli-plugins/docker-buildx
13
11
# set the home to /root explicitly to if using docker buildx
17
15
- |
18
16
gcloud auth configure-docker \
19
17
&& cd images/echo && make push
20
- substitutions :
21
- _GIT_TAG : " 12345"
22
- _PULL_BASE_REF : " master"
Original file line number Diff line number Diff line change @@ -18,7 +18,9 @@ SHELL=/bin/bash -o pipefail -o errexit
18
18
DIR: =$(strip $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST ) ) ) ) )
19
19
INIT_BUILDX =$(DIR ) /../../hack/init-buildx.sh
20
20
21
- TAG ?=v1.0.0
21
+ SHORT_SHA ?=$(shell git rev-parse --short HEAD)
22
+ TAG ?=v$(shell date +% Y% m% d) -$(SHORT_SHA )
23
+
22
24
REGISTRY ?= local
23
25
24
26
IMAGE = $(REGISTRY ) /ext-auth-example-authsvc
Original file line number Diff line number Diff line change 8
8
entrypoint : bash
9
9
env :
10
10
- DOCKER_CLI_EXPERIMENTAL=enabled
11
- - SHORT_SHA=$SHORT_SHA
12
- - BASE_REF=$_PULL_BASE_REF
13
11
- REGISTRY=gcr.io/k8s-staging-ingress-nginx
14
12
# default cloudbuild has HOME=/builder/home and docker buildx is in /root/.docker/cli-plugins/docker-buildx
15
13
# set the home to /root explicitly to if using docker buildx
19
17
- |
20
18
gcloud auth configure-docker \
21
19
&& cd images/ext-auth-example-authsvc && make push
22
- substitutions :
23
- _GIT_TAG : " 12345"
24
- _PULL_BASE_REF : " master"
Original file line number Diff line number Diff line change 6
6
entrypoint : bash
7
7
env :
8
8
- DOCKER_CLI_EXPERIMENTAL=enabled
9
- - SHORT_SHA=$SHORT_SHA
10
- - BASE_REF=$_PULL_BASE_REF
11
9
- REGISTRY=gcr.io/k8s-staging-ingress-nginx
12
10
# default cloudbuild has HOME=/builder/home and docker buildx is in /root/.docker/cli-plugins/docker-buildx
13
11
# set the home to /root explicitly to if using docker buildx
17
15
- |
18
16
gcloud auth configure-docker \
19
17
&& cd images/fastcgi-helloserver && make push
20
- substitutions :
21
- _GIT_TAG : " 12345"
22
- _PULL_BASE_REF : " master"
18
+
Original file line number Diff line number Diff line change 8
8
entrypoint : bash
9
9
env :
10
10
- DOCKER_CLI_EXPERIMENTAL=enabled
11
- - SHORT_SHA=$SHORT_SHA
12
- - BASE_REF=$_PULL_BASE_REF
13
11
- REGISTRY=gcr.io/k8s-staging-ingress-nginx
14
12
# default cloudbuild has HOME=/builder/home and docker buildx is in /root/.docker/cli-plugins/docker-buildx
15
13
# set the home to /root explicitly to if using docker buildx
19
17
- |
20
18
gcloud auth configure-docker \
21
19
&& cd images/go-grpc-greeter-server && make push
22
- substitutions :
23
- _GIT_TAG : " 12345"
24
- _PULL_BASE_REF : " master"
Original file line number Diff line number Diff line change 8
8
entrypoint : bash
9
9
env :
10
10
- DOCKER_CLI_EXPERIMENTAL=enabled
11
- - SHORT_SHA=$SHORT_SHA
12
- - BASE_REF=$_PULL_BASE_REF
13
11
- REGISTRY=gcr.io/k8s-staging-ingress-nginx
14
12
# default cloudbuild has HOME=/builder/home and docker buildx is in /root/.docker/cli-plugins/docker-buildx
15
13
# set the home to /root explicitly to if using docker buildx
19
17
- |
20
18
gcloud auth configure-docker \
21
19
&& cd images/httpbun && make push
22
- substitutions :
23
- _GIT_TAG : " 12345"
24
- _PULL_BASE_REF : " master"
Original file line number Diff line number Diff line change 21
21
entrypoint : bash
22
22
env :
23
23
- DOCKER_CLI_EXPERIMENTAL=enabled
24
- - SHORT_SHA=$SHORT_SHA
25
- - BASE_REF=$_PULL_BASE_REF
26
24
- REGISTRY=gcr.io/k8s-staging-ingress-nginx
27
25
# default cloudbuild has HOME=/builder/home and docker buildx is in /root/.docker/cli-plugins/docker-buildx
28
26
# set the home to /root explicitly to if using docker buildx
32
30
- |
33
31
gcloud auth configure-docker \
34
32
&& cd images/kube-webhook-certgen && make push
35
- substitutions :
36
- _GIT_TAG : " 12345"
37
- _PULL_BASE_REF : " main"
You can’t perform that action at this time.
0 commit comments