Attempt using podman for building image
Retain consistency across services Signed-off-by: baalajimaestro <me@baalajimaestro.me>
This commit is contained in:
parent
6d5fb61856
commit
730c4c3d32
1 changed files with 6 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue