CI: remove broken tag deploy (#1513)
See #1512 for full context. Short explanation: Because the job wants to run only on tag pushes, but requires the `test` job (which doesn't run on tag pushes), the job will never run.
This commit is contained in:
parent
3cfb338336
commit
fa00751cd4
|
@ -97,28 +97,6 @@ workflows:
|
|||
DOCKER_TAG=$(docker run sourcecred/sourcecred --version | cut -d' ' -f2)
|
||||
echo "Version that would be used for Docker tag is ${DOCKER_TAG}"
|
||||
|
||||
- docker/publish:
|
||||
image: sourcecred/sourcecred
|
||||
tag: latest
|
||||
requires:
|
||||
- test
|
||||
filters:
|
||||
branches:
|
||||
ignore: /.*/
|
||||
tags:
|
||||
only: /^v.*/
|
||||
extra_build_args: --cache-from=node:12,sourcecred/sourcecred:dev
|
||||
before_build:
|
||||
- pull_cache
|
||||
after_build:
|
||||
- run:
|
||||
name: Publish Docker Tag with Sourcecred Version
|
||||
command: |
|
||||
DOCKER_TAG=$(docker run sourcecred/sourcecred --version | cut -d' ' -f2)
|
||||
echo "Version for Docker tag is ${DOCKER_TAG}"
|
||||
docker tag sourcecred/sourcecred:latest sourcecred/sourcecred:${DOCKER_TAG}
|
||||
docker push sourcecred/sourcecred
|
||||
|
||||
- docker/publish:
|
||||
image: sourcecred/sourcecred
|
||||
extra_build_args: --cache-from=node:12,sourcecred/sourcecred:dev
|
||||
|
|
Loading…
Reference in New Issue