Dont enforce short name resolution

We can pull from anywhere it doesnt matter

Signed-off-by: baalajimaestro <me@baalajimaestro.me>
This commit is contained in:
baalajimaestro 2022-11-27 12:51:49 +05:30
parent 730c4c3d32
commit 7f2f2abd2c
Signed by: baalajimaestro
GPG key ID: F93C394FE9BBAFD5

View file

@ -3,6 +3,7 @@ docker-build:
stage: build stage: 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
- 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: