Drop docker on ci

Signed-off-by: baalajimaestro <me@baalajimaestro.me>
This commit is contained in:
baalajimaestro 2022-12-09 22:33:53 +05:30
parent 2d20838f52
commit 79d18fd81c
Signed by: baalajimaestro
GPG key ID: F93C394FE9BBAFD5

View file

@ -1,9 +1,7 @@
docker-build:
image: quay.io/podman/stable:latest
stage: build
before_script:
- sed -i 's/short-name-mode="enforcing"/short-name-mode="permissive"/g' /etc/containers/registries.conf
- echo "$DOCKER_PASSWORD" | podman login -u "$DOCKER_USERNAME" registry.baalajimaestro.me --password-stdin
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" registry.baalajimaestro.me --password-stdin
script:
- podman build . -t registry.baalajimaestro.me/baalajimaestro/nim-censor-bot:latest
- podman push registry.baalajimaestro.me/baalajimaestro/nim-censor-bot:latest
- docker build . -t registry.baalajimaestro.me/baalajimaestro/nim-censor-bot:latest
- docker push registry.baalajimaestro.me/baalajimaestro/nim-censor-bot:latest