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:
|
docker-build:
|
||||||
image: docker:latest
|
image: quay.io/podman/stable:latest
|
||||||
stage: build
|
stage: build
|
||||||
services:
|
|
||||||
- docker:dind
|
|
||||||
before_script:
|
before_script:
|
||||||
- apk add make git
|
- dnf -y install git make
|
||||||
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" registry.baalajimaestro.me --password-stdin
|
- ln -s /usr/bin/podman /usr/bin/docker
|
||||||
|
- echo "$DOCKER_PASSWORD" | podman login -u "$DOCKER_USERNAME" registry.baalajimaestro.me --password-stdin
|
||||||
variables:
|
variables:
|
||||||
GO111MODULE: "on"
|
GO111MODULE: "on"
|
||||||
GOPATH: "/root/go"
|
GOPATH: "/root/go"
|
||||||
script:
|
script:
|
||||||
- make build-image
|
- make build-image
|
||||||
- docker tag traefik/traefik registry.baalajimaestro.me/baalajimaestro/traefik:latest
|
- podman tag traefik/traefik registry.baalajimaestro.me/baalajimaestro/traefik:latest
|
||||||
- docker push registry.baalajimaestro.me/baalajimaestro/traefik:latest
|
- podman push registry.baalajimaestro.me/baalajimaestro/traefik:latest
|
||||||
|
|
Loading…
Reference in a new issue