runner-images/.forgejo/workflows/deploy.yml
Zi Gao eaa53b467b
All checks were successful
/ deploy (push) Successful in 11s
use runner from git.mightycastle.net
2025-06-10 19:49:41 +10:00

24 lines
599 B
YAML

on:
push:
schedule:
- cron: '30 5 * * 0'
jobs:
deploy:
runs-on: docker
container:
image: git.mightycastle.net/zimgao/runner-image
volumes:
- /var/run/docker.sock:/var/run/docker.sock
steps:
- name: docker login
uses: docker/login-action@v3
with:
registry: git.mightycastle.net
username: zimgao
password: ${{ secrets.PACKAGESKEY }}
- name: build and publish
uses: docker/build-push-action@v6
with:
push: true
tags: git.mightycastle.net/zimgao/runner-image:latest