Skip to content

Commit 3a678cd

Browse files
committed
updating circle config to build to quay.io
Signed-off-by: vsoch <vsochat@stanford.edu>
1 parent 23120dc commit 3a678cd

File tree

2 files changed

+20
-12
lines changed

2 files changed

+20
-12
lines changed

.circleci/config.yml

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ workflows:
1616
build_without_publishing_job:
1717
jobs:
1818
- docker-publish/publish:
19-
image: vanessa/scif-go
19+
image: scif/scif-go
2020
dockerfile: docker/Dockerfile
21+
registry: quay.io
2122
deploy: false
2223
tag: latest
2324
filters:
@@ -29,12 +30,13 @@ workflows:
2930
- run:
3031
name: Preview Docker Tag for Build
3132
command: |
32-
DOCKER_TAG=$(docker run vanessa/scif-go:latest version)
33+
DOCKER_TAG=$(docker run quay.io/scif/scif-go:latest version)
3334
echo "Version for Docker tag is ${DOCKER_TAG}"
3435
echo "GitHub Commit is ${CIRCLE_SHA1}"
3536
3637
- docker-publish/publish:
37-
image: vanessa/scif-go
38+
image: scif/scif-go
39+
registry: quay.io
3840
dockerfile: docker/Dockerfile.hello-world
3941
deploy: false
4042
tag: hello-world
@@ -47,15 +49,16 @@ workflows:
4749
- run:
4850
name: Preview Docker Tag for Build
4951
command: |
50-
DOCKER_TAG=$(docker run vanessa/scif-go:hello-world version)
52+
DOCKER_TAG=$(docker run quay.io/scif/scif-go:hello-world version)
5153
echo "Version for Docker tag is hello-world-${DOCKER_TAG}"
5254
echo "GitHub Commit is ${CIRCLE_SHA1}"
5355
5456
# This workflow will deploy images on merge to master only
5557
docker_with_lifecycle:
5658
jobs:
5759
- docker-publish/publish:
58-
image: vanessa/scif-go
60+
image: scif/scif-go
61+
registry: quay.io
5962
dockerfile: docker/Dockerfile
6063
tag: latest
6164
filters:
@@ -65,13 +68,14 @@ workflows:
6568
- run:
6669
name: Publish Docker Tag with SCIF Version
6770
command: |
68-
DOCKER_TAG=$(docker run vanessa/scif-go:latest version)
71+
DOCKER_TAG=$(docker run quay.io/scif/scif-go:latest version)
6972
echo "Version for Docker tag is ${DOCKER_TAG}"
70-
docker tag vanessa/scif-go:latest vanessa/scif-go:${DOCKER_TAG}
71-
docker tag vanessa/scif-go:latest vanessa/scif-go:${CIRCLE_SHA1}
73+
docker tag quay.io/scif/scif-go:latest quay.io/scif/scif-go:${DOCKER_TAG}
74+
docker tag quay.io/scif/scif-go:latest quay.io/scif/scif-go:${CIRCLE_SHA1}
7275
7376
- docker-publish/publish:
74-
image: vanessa/scif-go
77+
image: scif/scif-go
78+
registry: quay.io
7579
dockerfile: docker/Dockerfile.hello-world
7680
tag: hello-world
7781
filters:
@@ -81,10 +85,12 @@ workflows:
8185
- run:
8286
name: Publish Docker Tag with SCIF Version
8387
command: |
84-
DOCKER_TAG=$(docker run vanessa/scif-go:hello-world version)
88+
DOCKER_TAG=$(docker run quay.io/scif/scif-go:hello-world version)
8589
echo "Version for Docker tag is hello-world-${DOCKER_TAG}"
86-
docker tag vanessa/scif-go:hello-world vanessa/scif-go:hello-world-${DOCKER_TAG}
87-
docker tag vanessa/scif-go:hello-world vanessa/scif-go:hello-world-${CIRCLE_SHA1}
90+
docker tag quay.io/scif/scif-go:hello-world quay.io/scif/scif-go:hello-world-${DOCKER_TAG}
91+
docker tag quay.io/scif/scif-go:hello-world quay.io/scif/scif-go:hello-world-${CIRCLE_SHA1}
92+
93+
8894
jobs:
8995
test:
9096
docker:

docker/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,5 @@ root of the repository, do:
2222
```bash
2323
$ docker build -f docker/Dockerfile.dev -t vanessa/scif-go .
2424
```
25+
26+
The containers are also built automatically on [quay.io/scif/scif-go](https://quay.io/repository/scif/scif-go?tab=tags).

0 commit comments

Comments
 (0)