Fix up use of manifest-tool so deploys hopefully work.
@@ -30,9 +30,10 @@ jobs:
- run: sudo apt-get install python-pip
- run: sudo pip install invoke semver pyyaml
- run: docker login -u $DOCKER_USER -p $DOCKER_PASSWORD
- - run: go get github.com/estesp/manifest-tool # Can't fetch this with modules yet :(
+ - run: mkdir -p ./bin
+ - run: wget -O ./bin/manifest-tool https://github.com/estesp/manifest-tool/releases/download/v1.0.0/manifest-tool-linux-amd64 && chmod +x ./bin/manifest-tool
- run: echo "export GO111MODULE=on" >>$BASH_ENV
- - run: inv push-multiarch --binaries=controller --tag=${CIRCLE_BRANCH:-${CIRCLE_TAG}} --docker-user=metallb
+ - run: PATH=./bin inv push-multiarch --binaries=controller --tag=${CIRCLE_BRANCH:-${CIRCLE_TAG}} --docker-user=metallb
deploy-speaker:
working_directory: /go/src/go.universe.tf/metallb
docker:
@@ -43,9 +44,10 @@ jobs:
- run: sudo apt-get install python-pip
- run: sudo pip install invoke semver pyyaml
- run: docker login -u $DOCKER_USER -p $DOCKER_PASSWORD
- - run: go get github.com/estesp/manifest-tool # Can't fetch this with modules yet :(
+ - run: mkdir -p ./bin
+ - run: wget -O ./bin/manifest-tool https://github.com/estesp/manifest-tool/releases/download/v1.0.0/manifest-tool-linux-amd64 && chmod +x ./bin/manifest-tool
- run: echo "export GO111MODULE=on" >>$BASH_ENV
- - run: inv push-multiarch --binaries=speaker --tag=${CIRCLE_BRANCH:-${CIRCLE_TAG}} --docker-user=metallb
+ - run: PATH=./bin inv push-multiarch --binaries=speaker --tag=${CIRCLE_BRANCH:-${CIRCLE_TAG}} --docker-user=metallb
workflows:
version: 2
test-and-deploy:
