wip: remove release tag. use more recent docker.

License: MIT
Signed-off-by: Oli Evans <oli@tableflip.io>
This commit is contained in:
Oli Evans 2020-03-13 14:31:45 +00:00
parent 9f6349b07b
commit 427557e903
No known key found for this signature in database
GPG Key ID: A2AC979DA8460535
2 changed files with 11 additions and 13 deletions

View File

@ -310,7 +310,8 @@ jobs:
executor: dockerizer
steps:
- checkout
- setup_remote_docker
- setup_remote_docker:
version: "18.09.3"
- run:
name: Build Docker image
command: |
@ -326,7 +327,8 @@ jobs:
executor: dockerizer
steps:
- checkout
- setup_remote_docker
- setup_remote_docker:
version: "18.09.3"
- attach_workspace:
at: /tmp/workspace
- run:
@ -374,12 +376,11 @@ workflows:
- interop
- go-ipfs-api
- go-ipfs-http-client
- ipfs-webui
- ipfs-webui
filters:
branches:
only:
only:
- master
- release
- feat/stabilize-dht
# NOTE: CircleCI only builds tags if you explicitly filter for them. That

View File

@ -59,20 +59,17 @@ pushTag () {
fi
}
if [[ $GIT_TAG =~ ^v[0-9]+ ]]; then
if [[ $GIT_TAG =~ ^v[0-9]+ ]]; then
pushTag "$GIT_TAG"
pushTag "latest"
elif [ "$GIT_BRANCH" = "feat/stabilize-dht" ]; then
elif [ "$GIT_BRANCH" = "feat/stabilize-dht" ]; then
pushTag "bifrost-${BUILD_NUM}-${GIT_SHA1_SHORT}"
pushTag "bifrost-latest"
elif [ "$GIT_BRANCH" = "release" ]; then
pushTag "release"
pushTag "latest"
elif [ "$GIT_BRANCH" = "master" ]; then
elif [ "$GIT_BRANCH" = "master" ]; then
pushTag "master-${BUILD_NUM}-${GIT_SHA1_SHORT}"
pushTag "master"
pushTag "master-latest"
else
echo "Nothing to do. No docker tag defined for branch: $GIT_BRANCH, tag: $GIT_TAG"