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
6baac1ac79
commit
0a0900477a
2 changed files with 13 additions and 25 deletions
|
@ -1,25 +0,0 @@
|
||||||
on:
|
|
||||||
push:
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
Building:
|
|
||||||
runs-on: slave
|
|
||||||
steps:
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Login to Docker Hub
|
|
||||||
uses: docker/login-action@v3
|
|
||||||
with:
|
|
||||||
registry: git.baalajimaestro.me
|
|
||||||
username: ${{ gitea.repository_owner }}
|
|
||||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
|
||||||
|
|
||||||
- name: Build & Push
|
|
||||||
uses: docker/build-push-action@master
|
|
||||||
with:
|
|
||||||
push: true
|
|
||||||
context: .
|
|
||||||
platforms: linux/amd64
|
|
||||||
tags: git.baalajimaestro.me/baalajimaestro/obsolute-paste: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/obsolute-paste:latest
|
||||||
|
- docker push git.baalajimaestro.me/baalajimaestro/obsolute-paste:latest
|
||||||
|
secrets: [ docker_password ]
|
||||||
|
privileged: true
|
Loading…
Reference in a new issue