traefik/.gitlab-ci.yml
baalajimaestro 9703c87f28
Mount podman socket itself directly
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-12-08 23:09:12 +05:30

15 lines
633 B
YAML

docker-build:
image: quay.io/podman/stable:latest
stage: build
before_script:
- dnf -y install git make
- sed -i 's/short-name-mode="enforcing"/short-name-mode="permissive"/g' /etc/containers/registries.conf
- 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
- podman tag traefik/traefik registry.baalajimaestro.me/baalajimaestro/traefik:latest
- podman push registry.baalajimaestro.me/baalajimaestro/traefik:latest