From 730c4c3d326bff6daeaf629d1a36b6b8408af6f7 Mon Sep 17 00:00:00 2001 From: baalajimaestro Date: Sun, 27 Nov 2022 12:24:37 +0530 Subject: [PATCH] Attempt using podman for building image Retain consistency across services Signed-off-by: baalajimaestro --- .gitlab-ci.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5063d3503..72ba2d5bf 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,15 +1,14 @@ docker-build: - image: docker:latest + image: quay.io/podman/stable:latest stage: build - services: - - docker:dind before_script: - - apk add make git - - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" registry.baalajimaestro.me --password-stdin + - dnf -y install git make + - ln -s /usr/bin/podman /usr/bin/docker + - echo "$DOCKER_PASSWORD" | podman login -u "$DOCKER_USERNAME" registry.baalajimaestro.me --password-stdin variables: GO111MODULE: "on" GOPATH: "/root/go" script: - make build-image - - docker tag traefik/traefik registry.baalajimaestro.me/baalajimaestro/traefik:latest - - docker push registry.baalajimaestro.me/baalajimaestro/traefik:latest + - podman tag traefik/traefik registry.baalajimaestro.me/baalajimaestro/traefik:latest + - podman push registry.baalajimaestro.me/baalajimaestro/traefik:latest