baalajimaestro
b01d7c3ff4
Some checks failed
Build & Push / build-and-push (push) Failing after 9s
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
34 lines
No EOL
753 B
YAML
34 lines
No EOL
753 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
|
|
run: /dockerd-entrypoint.sh dockerd 2&> /dev/null &
|
|
shell: bash
|
|
|
|
- name: Login to Docker Registry
|
|
uses: docker/login-action@v1
|
|
with:
|
|
registry: git.ptr.moe
|
|
username: ${{ github.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 |