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:
Antoine Legrand 2017-06-30 17:51:49 +02:00 committed by GitHub
commit 334a08d90b
2 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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),
},