Signed-off-by: baalajimaestro <me@baalajimaestro.me>
This commit is contained in:
parent
c71157bfb7
commit
cf84dfbc39
2 changed files with 17 additions and 27 deletions
|
@ -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
|
|
17
.woodpecker/woodpecker.yml
Normal file
17
.woodpecker/woodpecker.yml
Normal 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 ]
|
Loading…
Add table
Reference in a new issue