Switch to woodpecker ci
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
This commit is contained in:
parent
b5df4d48a4
commit
03493aac34
2 changed files with 13 additions and 7 deletions
|
@ -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
|
13
.woodpecker/woodpecker.yaml
Normal file
13
.woodpecker/woodpecker.yaml
Normal 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
|
Loading…
Reference in a new issue