Skip to content

Commit a70e120

Browse files
committed
pull base images for releasing
1 parent 3bf88f1 commit a70e120

File tree

3 files changed

+18
-1
lines changed

3 files changed

+18
-1
lines changed

Makefile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,11 @@ push:
1414
bin/push
1515

1616
docker: build push
17+
18+
pull:
19+
docker pull tonglil/auth-gcloud:latest
20+
docker pull tonglil/auth-gcloud:slim
21+
docker pull tonglil/auth-gcloud:alpine
22+
23+
version:
24+
docker run -it --rm --entrypoint=bash tonglil/auth-gcloud:alpine gcloud version

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,15 @@ pipeline:
3333
secret: [google_credentials]
3434
```
3535
36+
## Releasing
37+
38+
Use the base image's `gcloud` version number as the tag:
39+
40+
```
41+
make pull
42+
make version
43+
```
44+
3645
## Changelog
3746
3847
See release notes: https://github.com/tonglil/auth-gke/releases

bin/build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ cd "$(cd "$(dirname "$0")"; cd ..; pwd)"
44

55
source bin/vars
66

7-
docker build -t "$OWNER/$NAME:$TAG" -f "$DOCKERFILE" .
7+
docker build --pull -t "$OWNER/$NAME:$TAG" -f "$DOCKERFILE" .

0 commit comments

Comments
 (0)