yolks/.github/workflows/mono.yml
laraproto 334b6fba98
All checks were successful
build mono / yolks:mono_latest (push) Successful in 2m10s
oops
2024-10-27 12:46:17 +02:00

37 lines
No EOL
907 B
YAML

name: build mono
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * 1"
push:
branches:
- master
paths:
- mono/**
jobs:
push:
name: "yolks:mono_${{ matrix.tag }}"
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
tag:
- latest
steps:
- uses: actions/checkout@v4
- uses: docker/setup-buildx-action@v3
with:
buildkitd-flags: --debug
- uses: docker/login-action@v3
with:
registry: git.styandco.dev
username: ${{ github.repository_owner }}
password: ${{ secrets.REGISTRY_TOKEN }}
- uses: docker/build-push-action@v5
with:
context: ./mono
file: ./mono/${{ matrix.tag }}/Dockerfile
platforms: linux/amd64
push: true
tags: |
git.styandco.dev/lara-eggs/yolks:mono_${{ matrix.tag }}