Use podman for building
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
This commit is contained in:
parent
20f397135b
commit
3815af986b
1 changed files with 4 additions and 6 deletions
|
@ -1,10 +1,8 @@
|
||||||
docker-build:
|
docker-build:
|
||||||
image: docker:latest
|
image: quay.io/podman/stable:latest
|
||||||
stage: build
|
stage: build
|
||||||
services:
|
|
||||||
- docker:dind
|
|
||||||
before_script:
|
before_script:
|
||||||
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" registry.baalajimaestro.me --password-stdin
|
- echo "$DOCKER_PASSWORD" | podman login -u "$DOCKER_USERNAME" registry.baalajimaestro.me --password-stdin
|
||||||
script:
|
script:
|
||||||
- docker build . -t registry.baalajimaestro.me/baalajimaestro/nim-censor-bot:latest
|
- podman build . -t registry.baalajimaestro.me/baalajimaestro/nim-censor-bot:latest
|
||||||
- docker push registry.baalajimaestro.me/baalajimaestro/nim-censor-bot:latest
|
- podman push registry.baalajimaestro.me/baalajimaestro/nim-censor-bot:latest
|
Loading…
Reference in a new issue