31 lines
738 B
YAML
31 lines
738 B
YAML
name: build
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
paths:
|
|
- 'images/**'
|
|
- '.gitea/workflows/build.yml'
|
|
schedule:
|
|
- cron: '0 4 * * 0' ## weekly sunday 04:00 UTC rebuild
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
container:
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
steps:
|
|
- uses: actions/checkout@v7
|
|
- uses: docker/login-action@v3
|
|
with:
|
|
registry: git.studiovita.li
|
|
username: ${{ secrets.REGISTRY_USERNAME }}
|
|
password: ${{ secrets.REGISTRY_TOKEN }}
|
|
- uses: docker/build-push-action@v6
|
|
with:
|
|
context: images/act
|
|
push: true
|
|
tags: git.studiovita.li/studio/actions:ubuntu-latest
|