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-02-28 21:07:32 +05:30
parent 6baac1ac79
commit 0a0900477a
Signed by: baalajimaestro
GPG key ID: F93C394FE9BBAFD5
2 changed files with 13 additions and 25 deletions

View file

@ -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

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/obsolute-paste:latest
- docker push git.baalajimaestro.me/baalajimaestro/obsolute-paste:latest
secrets: [ docker_password ]
privileged: true