Use woodpeckerci
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

Signed-off-by: baalajimaestro <me@baalajimaestro.me>
This commit is contained in:
baalajimaestro 2024-02-28 19:37:34 +05:30
parent c71157bfb7
commit cf84dfbc39
Signed by: baalajimaestro
GPG key ID: F93C394FE9BBAFD5
2 changed files with 17 additions and 27 deletions

View file

@ -1,27 +0,0 @@
on:
push:
jobs:
Building:
runs-on: slave
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
registry: git.baalajimaestro.me
username: ${{ gitea.repository_owner }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Run Build
run: make build-image
- name: Push Image
run: |
docker tag traefik/traefik git.baalajimaestro.me/baalajimaestro/traefik:latest
docker push git.baalajimaestro.me/baalajimaestro/traefik:latest

View file

@ -0,0 +1,17 @@
kind: pipeline
type: docker
name: default
trigger:
event:
- push
steps:
- name: Build
image: git.baalajimaestro.me/baalajimaestro/build-runner
commands:
- docker login git.baalajimaestro.me -u ${DOCKER_USERNAME} -p ${DOCKER_PASSWORD}
- make build-image
- docker tag traefik/traefik git.baalajimaestro.me/baalajimaestro/traefik:latest
- docker push git.baalajimaestro.me/baalajimaestro/traefik:latest
secrets: [ docker_username, docker_password ]