From d9c3144017acdfae2ad6e020e80568c33ba6bb00 Mon Sep 17 00:00:00 2001 From: Pierre Ozoux Date: Fri, 28 Jan 2022 09:09:40 +0000 Subject: [PATCH 1/6] Update .gitlab-ci.yml --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6dbd555..f5c71b8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,7 +8,7 @@ test: name: gcr.io/kaniko-project/executor:debug entrypoint: [""] script: - - export VERSION=`wget -qO- https://api.github.com/repos/RocketChat/Rocket.Chat/tags | grep name | cut -d'"' -f4 | grep -v "rc\|develop\|\.0" | head -n1` + - export VERSION=4.0.0 - /kaniko/executor --context . --no-push --build-arg VERSION=$VERSION except: - master @@ -21,7 +21,7 @@ build: entrypoint: [""] script: - cp $DOCKER_SECRET_CONFIG /kaniko/.docker/config.json - - export VERSION=`wget -qO- https://api.github.com/repos/RocketChat/Rocket.Chat/tags | grep name | cut -d'"' -f4 | grep -v "rc\|develop\|\.0" | head -n1` + - export VERSION=4.0.0 - export DESTINATION="--destination ${DOCKER_HUB_REPO}:${VERSION} --destination ${DOCKER_HUB_REPO}:latest" - /kaniko/executor --context . ${DESTINATION} --build-arg VERSION=$VERSION only: -- GitLab From 887b2a2b1d70d8f4cee0cd4c69da74e50a2c8faa Mon Sep 17 00:00:00 2001 From: Pierre Ozoux Date: Fri, 28 Jan 2022 09:14:13 +0000 Subject: [PATCH 2/6] Update .gitlab-ci.yml --- .gitlab-ci.yml | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f5c71b8..1c739ac 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -10,19 +10,3 @@ test: script: - export VERSION=4.0.0 - /kaniko/executor --context . --no-push --build-arg VERSION=$VERSION - except: - - master - -build: - tags: - - build - image: - name: gcr.io/kaniko-project/executor:debug - entrypoint: [""] - script: - - cp $DOCKER_SECRET_CONFIG /kaniko/.docker/config.json - - export VERSION=4.0.0 - - export DESTINATION="--destination ${DOCKER_HUB_REPO}:${VERSION} --destination ${DOCKER_HUB_REPO}:latest" - - /kaniko/executor --context . ${DESTINATION} --build-arg VERSION=$VERSION - only: - - master -- GitLab From 22d029e8c90bec048ce8d1087fedbc2c13389b53 Mon Sep 17 00:00:00 2001 From: Pierre Ozoux Date: Fri, 28 Jan 2022 09:29:29 +0000 Subject: [PATCH 3/6] Update .gitlab-ci.yml --- .gitlab-ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1c739ac..a42eae1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,7 +1,7 @@ variables: DOCKER_HUB_REPO: libresh/rocketchat -test: +build: tags: - build image: @@ -9,4 +9,6 @@ test: entrypoint: [""] script: - export VERSION=4.0.0 - - /kaniko/executor --context . --no-push --build-arg VERSION=$VERSION + - cp $DOCKER_SECRET_CONFIG /kaniko/.docker/config.json + - export DESTINATION="--destination ${DOCKER_HUB_REPO}:${VERSION} --destination ${DOCKER_HUB_REPO}:latest" + - /kaniko/executor --context . ${DESTINATION} --build-arg VERSION=$VERSION -- GitLab From 252461a5618cbba77b6a3b434ed86081f15ecfe6 Mon Sep 17 00:00:00 2001 From: Timothee Gosselin Date: Mon, 31 Jan 2022 15:46:22 +0000 Subject: [PATCH 4/6] Update to 4.0.6 --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a42eae1..a88bdfa 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,7 +8,7 @@ build: name: gcr.io/kaniko-project/executor:debug entrypoint: [""] script: - - export VERSION=4.0.0 + - export VERSION=4.0.6 - cp $DOCKER_SECRET_CONFIG /kaniko/.docker/config.json - export DESTINATION="--destination ${DOCKER_HUB_REPO}:${VERSION} --destination ${DOCKER_HUB_REPO}:latest" - /kaniko/executor --context . ${DESTINATION} --build-arg VERSION=$VERSION -- GitLab From 2d33f83269d83511a5ec204f5d32315d5650c184 Mon Sep 17 00:00:00 2001 From: Timothee Gosselin Date: Mon, 31 Jan 2022 15:55:46 +0000 Subject: [PATCH 5/6] Update to 4.1.0 --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a88bdfa..5013c1d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,7 +8,7 @@ build: name: gcr.io/kaniko-project/executor:debug entrypoint: [""] script: - - export VERSION=4.0.6 + - export VERSION=4.1.0 - cp $DOCKER_SECRET_CONFIG /kaniko/.docker/config.json - export DESTINATION="--destination ${DOCKER_HUB_REPO}:${VERSION} --destination ${DOCKER_HUB_REPO}:latest" - /kaniko/executor --context . ${DESTINATION} --build-arg VERSION=$VERSION -- GitLab From 1f4b10014e7f1d2e3eeb144950e7946da56d790e Mon Sep 17 00:00:00 2001 From: Timothee Gosselin Date: Tue, 22 Feb 2022 16:01:41 +0000 Subject: [PATCH 6/6] Update .gitlab-ci.yml --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5013c1d..8615cbb 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,7 +8,7 @@ build: name: gcr.io/kaniko-project/executor:debug entrypoint: [""] script: - - export VERSION=4.1.0 + - export VERSION=4.2.0 - cp $DOCKER_SECRET_CONFIG /kaniko/.docker/config.json - export DESTINATION="--destination ${DOCKER_HUB_REPO}:${VERSION} --destination ${DOCKER_HUB_REPO}:latest" - /kaniko/executor --context . ${DESTINATION} --build-arg VERSION=$VERSION -- GitLab