Add a simple gitea-ci config to build docker image
All checks were successful
/ Building (push) Successful in 3m48s
All checks were successful
/ Building (push) Successful in 3m48s
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
This commit is contained in:
parent
e0b67d41e8
commit
8ddbbbc57d
1 changed files with 24 additions and 0 deletions
24
.gitea/workflows/build-push.yml
Normal file
24
.gitea/workflows/build-push.yml
Normal file
|
@ -0,0 +1,24 @@
|
|||
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: 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
|
Loading…
Reference in a new issue