Switch to woodpecker ci
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

Signed-off-by: baalajimaestro <me@baalajimaestro.me>
This commit is contained in:
baalajimaestro 2024-03-17 11:19:42 +05:30
parent b5df4d48a4
commit 03493aac34
Signed by: baalajimaestro
GPG key ID: F93C394FE9BBAFD5
2 changed files with 13 additions and 7 deletions

View file

@ -1,7 +0,0 @@
docker-build:
stage: build
before_script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" registry.baalajimaestro.me --password-stdin
script:
- docker build . -t registry.baalajimaestro.me/baalajimaestro/nim-censor-bot:latest
- docker push registry.baalajimaestro.me/baalajimaestro/nim-censor-bot:latest

View file

@ -0,0 +1,13 @@
when:
- event: push
steps:
- name: Build & Push
image: git.baalajimaestro.me/baalajimaestro/build-runner
commands:
- /dockerd-entrypoint.sh dockerd 2&> /dev/null &
- echo $DOCKER_PASSWORD | docker login git.baalajimaestro.me --username ${CI_REPO_OWNER} --password-stdin
- docker build . -t git.baalajimaestro.me/baalajimaestro/nim-censor-bot:latest
- docker push git.baalajimaestro.me/baalajimaestro/nim-censor-bot:latest
secrets: [ docker_password ]
privileged: true