wip: remove release tag. use more recent docker.

License: MIT
Signed-off-by: default avatarOli Evans <oli@tableflip.io>
parent 9f6349b0
......@@ -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
......
......@@ -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"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment