Merge pull request #2714 from coreos-inc/alegrand/QUAY-670/push_ci-images_prodrepo
Push CI images to quay/quay
This commit is contained in:
commit
334a08d90b
2 changed files with 3 additions and 3 deletions
|
@ -39,8 +39,8 @@ container-release:
|
|||
- tags
|
||||
script:
|
||||
- docker pull quay.io/quay/quay-ci:${CI_COMMIT_REF_SLUG}
|
||||
- docker tag quay.io/quay/quay-ci:${CI_COMMIT_REF_SLUG} quay.io/quay/quay-ci:${CI_COMMIT_REF_SLUG}-${CI_COMMIT_SHA}
|
||||
- docker push quay.io/quay/quay-ci:${CI_COMMIT_REF_SLUG}-${CI_COMMIT_SHA}
|
||||
- docker tag quay.io/quay/quay-ci:${CI_COMMIT_REF_SLUG} quay.io/quay/quay:${CI_COMMIT_REF_SLUG}-${CI_COMMIT_SHA}
|
||||
- docker push quay.io/quay/quay:${CI_COMMIT_REF_SLUG}-${CI_COMMIT_SHA}
|
||||
stage: docker_release
|
||||
tags:
|
||||
- kubernetes
|
||||
|
|
|
@ -15,7 +15,7 @@ local utils = import "utils.libsonnet";
|
|||
|
||||
// @TODO(ant31) release should use quay/quay
|
||||
// release is a copy of the quayci image to the 'prod' repository
|
||||
release: { repo: "quay.io/quay/quay-ci",
|
||||
release: { repo: "quay.io/quay/quay",
|
||||
tag: "${CI_COMMIT_REF_SLUG}-${CI_COMMIT_SHA}",
|
||||
name: utils.containerName(self.repo, self.tag),
|
||||
},
|
||||
|
|
Reference in a new issue