traefik/.gitea/workflows/build-push.yml
baalajimaestro 8ddbbbc57d
All checks were successful
/ Building (push) Successful in 3m48s
Add a simple gitea-ci config to build docker image
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2024-02-09 16:45:30 +05:30

24 lines
606 B
YAML

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