Make the socker available on /var/run/docker.sock as well

Signed-off-by: baalajimaestro <me@baalajimaestro.me>
This commit is contained in:
baalajimaestro 2022-11-27 14:00:51 +05:30
parent 7f2f2abd2c
commit 3b0519f50e
Signed by: baalajimaestro
GPG key ID: F93C394FE9BBAFD5

View file

@ -4,6 +4,7 @@ docker-build:
before_script: before_script:
- dnf -y install git make - dnf -y install git make
- sed -i 's/short-name-mode="enforcing"/short-name-mode="permissive"/g' /etc/containers/registries.conf - sed -i 's/short-name-mode="enforcing"/short-name-mode="permissive"/g' /etc/containers/registries.conf
- ln -s /var/run/podman/podman.sock /var/run/docker.sock
- ln -s /usr/bin/podman /usr/bin/docker - ln -s /usr/bin/podman /usr/bin/docker
- echo "$DOCKER_PASSWORD" | podman login -u "$DOCKER_USERNAME" registry.baalajimaestro.me --password-stdin - echo "$DOCKER_PASSWORD" | podman login -u "$DOCKER_USERNAME" registry.baalajimaestro.me --password-stdin
variables: variables: