diff options
author | John T Skarbek <jtslear@gmail.com> | 2019-02-18 08:57:57 -0500 |
---|---|---|
committer | John T Skarbek <jtslear@gmail.com> | 2019-02-18 08:57:57 -0500 |
commit | 00cb8de1ecd45ceb56edbb2f9fc3699669881078 (patch) | |
tree | f391977dac24177e1613c702f3d0239b560c0dce /scripts | |
parent | 481938de847294018d202df13565c8dbc8a8ebc2 (diff) | |
download | gitlab-ce-00cb8de1ecd45ceb56edbb2f9fc3699669881078.tar.gz |
Revert "Adds the commit sha to the pushed assets"
This reverts commit 481938de847294018d202df13565c8dbc8a8ebc2.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/build_assets_image | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts/build_assets_image b/scripts/build_assets_image index 9afada244c8..4e5ef977161 100755 --- a/scripts/build_assets_image +++ b/scripts/build_assets_image @@ -22,8 +22,6 @@ mkdir -p assets_container.build/public cp -r public/assets assets_container.build/public/ cp Dockerfile.assets assets_container.build/ docker build -t ${ASSETS_IMAGE_PATH}:${CI_COMMIT_REF_SLUG} -f assets_container.build/Dockerfile.assets assets_container.build/ -docker tag ${ASSETS_IMAGE_PATH}:${CI_COMMIT_REF_SLUG} ${ASSETS_IMAGE_PATH}:${CI_COMMIT_SHA} docker login -u gitlab-ci-token -p ${CI_JOB_TOKEN} ${CI_REGISTRY} -docker push ${ASSETS_IMAGE_PATH}:${CI_COMMIT_REF_SLUG} -docker push ${ASSETS_IMAGE_PATH}:${CI_COMMIT_SHA} +docker push ${ASSETS_IMAGE_PATH} |