Skip to content

Commit ae5b8cc

Browse files
committed
Update CI Quay login
1 parent 90ec64b commit ae5b8cc

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.circleci/config.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@ commands:
2222
rm -rf go*.tar.gz
2323
echo 'export PATH=$PATH:/usr/local/go/bin' >> $BASH_ENV
2424
echo 'export PATH=$PATH:~/go/bin' >> $BASH_ENV
25+
quay-login:
26+
description: Log Docker agent into Quay.io
27+
steps:
28+
- run:
29+
name: Login to Quay
30+
command: docker login -u=$QUAY_USERNAME -p=$QUAY_PASSWORD quay.io
2531

2632
jobs:
2733
test:
@@ -45,9 +51,6 @@ jobs:
4551
build-and-deploy:
4652
docker:
4753
- image: circleci/python:3.6
48-
auth:
49-
username: $QUAY_USERNAME
50-
password: $QUAY_PASSWORD
5154
environment:
5255
NUM_BUILD_PROCS: "2"
5356
steps:
@@ -59,6 +62,7 @@ jobs:
5962
- run: make ci-build-images
6063
- run: make ci-build-cli
6164
- return-if-not-deployed-branch
65+
- quay-login
6266
- run:
6367
command: make ci-push-images
6468
no_output_timeout: 20m

0 commit comments

Comments
 (0)