nim-censor-bot/.gitlab-ci.yml

9 lines
482 B
YAML
Raw Normal View History

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
script:
- podman build . -t registry.baalajimaestro.me/baalajimaestro/nim-censor-bot:latest
- podman push registry.baalajimaestro.me/baalajimaestro/nim-censor-bot:latest