diff options
author | gabrielgio <gabriel.giovanini@pm.me> | 2021-07-18 20:11:46 +0200 |
---|---|---|
committer | gabrielgio <gabriel.giovanini@pm.me> | 2021-07-18 20:11:46 +0200 |
commit | 68414b21fb57c06e8b03c1efba06b570a8cea5be (patch) | |
tree | d0b6cb9e1d913922387cf9f73520064c609f8a93 | |
parent | 10cbc378ad0daf0e80f5ceed92d70fdbf573df88 (diff) | |
download | reddit-nextcloud-importer-68414b21fb57c06e8b03c1efba06b570a8cea5be.tar.gz reddit-nextcloud-importer-68414b21fb57c06e8b03c1efba06b570a8cea5be.tar.bz2 reddit-nextcloud-importer-68414b21fb57c06e8b03c1efba06b570a8cea5be.zip |
fix: Fix docker tag
Pushing `<image>:latest` to the restistry.
-rw-r--r-- | .gitlab-ci.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 290ef19..795dbfb 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -11,7 +11,7 @@ docker-build-master: - docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY script: - docker build --pull -t "$CI_REGISTRY_IMAGE" -t "$CI_REGISTRY_IMAGE:$CI_COMMIT_SHORT_SHA" . - - docker push "$CI_REGISTRY_IMAGE":latest + - docker push "$CI_REGISTRY_IMAGE" - docker push "$CI_REGISTRY_IMAGE:$CI_COMMIT_SHORT_SHA" only: - master |