[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[RFC PATCH v2 3/3] gitlab: Remove COMMON_TAG from container-template.yml
From: |
Fabiano Rosas |
Subject: |
[RFC PATCH v2 3/3] gitlab: Remove COMMON_TAG from container-template.yml |
Date: |
Fri, 24 Feb 2023 09:52:07 -0300 |
We're not using the COMMON_TAG and we cannot have a push to a
different registry than we pull from because that would get in the way
of forks testing their changes to a dockerfile.
Signed-off-by: Fabiano Rosas <farosas@suse.de>
---
.gitlab-ci.d/container-template.yml | 2 --
1 file changed, 2 deletions(-)
diff --git a/.gitlab-ci.d/container-template.yml
b/.gitlab-ci.d/container-template.yml
index 31e4e36a7d..e7c1fa1522 100644
--- a/.gitlab-ci.d/container-template.yml
+++ b/.gitlab-ci.d/container-template.yml
@@ -6,13 +6,11 @@
- docker:dind
before_script:
- export TAG="$CI_REGISTRY_IMAGE/qemu/$NAME:latest"
- - export COMMON_TAG="$CI_REGISTRY/qemu-project/qemu/$NAME:latest"
- apk add python3
- docker info
- docker login $CI_REGISTRY -u "$CI_REGISTRY_USER" -p
"$CI_REGISTRY_PASSWORD"
script:
- echo "TAG:$TAG"
- - echo "COMMON_TAG:$COMMON_TAG"
- docker pull "$TAG" || true
- docker build --tag "$TAG" --cache-from "$TAG"
--build-arg BUILDKIT_INLINE_CACHE=1
--
2.35.3