24 lines
599 B
YAML
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
|
|
|