traefik/.gitea/workflows/build-push.yml
Workflow config file is invalid. Please check your config file: yaml: unmarshal errors: line 11: mapping key "name" already defined at line 8 line 12: mapping key "uses" already defined at line 9
baalajimaestro d55a612455
Setup docker buildx for building
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2024-02-27 19:42:57 +05:30

28 lines
686 B
YAML

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