mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-21 10:27:46 +08:00
wip: remove release tag. use more recent docker.
License: MIT Signed-off-by: Oli Evans <oli@tableflip.io>
This commit is contained in:
parent
9f6349b07b
commit
427557e903
@ -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"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user