yolks/.github/workflows/mono.yml

37 lines
907 B
YAML
Raw Normal View History

2024-10-27 12:27:29 +02:00
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
2024-10-27 12:40:37 +02:00
platforms: linux/amd64
2024-10-27 12:27:29 +02:00
push: true
tags: |
2024-10-27 12:46:17 +02:00
git.styandco.dev/lara-eggs/yolks:mono_${{ matrix.tag }}