build: pull SHA-specific image before tagging it as latest (#22891)

pull/22893/head
Daniel Moran 2021-11-17 10:26:27 -05:00 committed by GitHub
parent ad52815e19
commit a5f6431321
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -628,6 +628,7 @@ jobs:
- run: - run:
name: Push the image to Quay name: Push the image to Quay
command: | command: |
docker pull quay.io/influxdb/oss-acceptance:${CIRCLE_SHA1}
docker tag quay.io/influxdb/oss-acceptance:${CIRCLE_SHA1} quay.io/influxdb/oss-acceptance:latest docker tag quay.io/influxdb/oss-acceptance:${CIRCLE_SHA1} quay.io/influxdb/oss-acceptance:latest
docker push quay.io/influxdb/oss-acceptance:latest docker push quay.io/influxdb/oss-acceptance:latest