wip: remove release tag. use more recent docker.
License: MIT Signed-off-by: Oli Evans <oli@tableflip.io>
Oli Evans committed
Mar 13, 2020 at 14:31 UTC
427557e90384581ff34994b200a9b24f50e5c3df
2 files changed
+11
-13
.circleci/config.yml
+6
-5
@@ -310,7 +310,8 @@ jobs:
310
executor: dockerizer
311
steps:
312
- checkout
313
- - setup_remote_docker
313
+ - setup_remote_docker:
314
+ version: "18.09.3"
315
- run:
316
name: Build Docker image
317
command: |
@@ -326,7 +327,8 @@ jobs:
327
executor: dockerizer
328
steps:
329
- checkout
329
- - setup_remote_docker
330
+ - setup_remote_docker:
331
+ version: "18.09.3"
332
- attach_workspace:
333
at: /tmp/workspace
334
- run:
@@ -374,12 +376,11 @@ workflows:
376
- interop
377
- go-ipfs-api
378
- go-ipfs-http-client
377
- - ipfs-webui
379
+ - ipfs-webui
380
filters:
381
branches:
380
- only:
382
+ only:
383
- master
382
- - release
384
- feat/stabilize-dht
385
386
# NOTE: CircleCI only builds tags if you explicitly filter for them. That
bin/push-docker-tags.sh
+5
-8
@@ -59,20 +59,17 @@ pushTag () {
59
fi
60
}
61
62
-if [[ $GIT_TAG =~ ^v[0-9]+ ]]; then
62
+if [[ $GIT_TAG =~ ^v[0-9]+ ]]; then
63
pushTag "$GIT_TAG"
64
+ pushTag "latest"
65
65
-elif [ "$GIT_BRANCH" = "feat/stabilize-dht" ]; then
66
+elif [ "$GIT_BRANCH" = "feat/stabilize-dht" ]; then
67
pushTag "bifrost-${BUILD_NUM}-${GIT_SHA1_SHORT}"
68
pushTag "bifrost-latest"
69
69
-elif [ "$GIT_BRANCH" = "release" ]; then
70
- pushTag "release"
71
- pushTag "latest"
72
-
73
-elif [ "$GIT_BRANCH" = "master" ]; then
70
+elif [ "$GIT_BRANCH" = "master" ]; then
71
pushTag "master-${BUILD_NUM}-${GIT_SHA1_SHORT}"
75
- pushTag "master"
72
+ pushTag "master-latest"
73
74
else
75
echo "Nothing to do. No docker tag defined for branch: $GIT_BRANCH, tag: $GIT_TAG"