2022-04-25 11:57:41 +00:00
|
|
|
docker-build:
|
2022-11-27 06:54:37 +00:00
|
|
|
image: quay.io/podman/stable:latest
|
2022-04-25 11:57:41 +00:00
|
|
|
stage: build
|
|
|
|
before_script:
|
2022-11-27 06:54:37 +00:00
|
|
|
- dnf -y install git make
|
2022-11-27 07:21:49 +00:00
|
|
|
- sed -i 's/short-name-mode="enforcing"/short-name-mode="permissive"/g' /etc/containers/registries.conf
|
2022-11-27 06:54:37 +00:00
|
|
|
- ln -s /usr/bin/podman /usr/bin/docker
|
2022-12-08 18:02:33 +00:00
|
|
|
- podman system service --time 0 unix://var/run/podman/podman.sock &
|
|
|
|
- ln -s /var/run/podman/podman.sock /var/run/docker.sock
|
2022-11-27 06:54:37 +00:00
|
|
|
- echo "$DOCKER_PASSWORD" | podman login -u "$DOCKER_USERNAME" registry.baalajimaestro.me --password-stdin
|
2022-05-08 13:50:05 +00:00
|
|
|
variables:
|
|
|
|
GO111MODULE: "on"
|
|
|
|
GOPATH: "/root/go"
|
2022-04-25 11:57:41 +00:00
|
|
|
script:
|
2022-05-08 14:55:59 +00:00
|
|
|
- make build-image
|
2022-11-27 06:54:37 +00:00
|
|
|
- podman tag traefik/traefik registry.baalajimaestro.me/baalajimaestro/traefik:latest
|
|
|
|
- podman push registry.baalajimaestro.me/baalajimaestro/traefik:latest
|