traefik/.forgejo/workflows/build-push.yml
baalajimaestro 4ccf452f92
Some checks failed
Build & Push / build-and-push (push) Failing after 3s
Switch to forgejo ci
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2024-08-21 23:41:01 +05:30

33 lines
No EOL
714 B
YAML

name: Build & Push
on:
push:
branches:
- master
jobs:
build-and-push:
runs-on: slave
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Startup DIND
uses: /docker-entrypoint.sh &
- name: Login to Docker Registry
uses: docker/login-action@v1
with:
registry: git.ptr.moe
username: ${{ forgejo.repository_owner }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build Image
run: make build-image
shell: bash
- name: Push Image
run: |
docker tag traefik/traefik git.ptr.moe/baalajimaestro/traefik:latest
docker push git.ptr.moe/baalajimaestro/traefik:latest
shell: bash