runner-images/.forgejo/workflows/deploy.yml
Zi Gao e9f8ebe69f
Some checks failed
/ deploy (push) Failing after 5s
share docker image
2025-06-08 22:28:35 +10:00

16 lines
443 B
YAML

on: [push]
jobs:
deploy:
runs-on: docker
container:
image: registry.mightycastle.net/runner-image
volumes:
- /var/run/docker.sock:/var/run/docker.sock
steps:
- id: checkout
uses: actions/checkout@v4
- id: build
run: docker build --pull --rm -t registry.mightycastle.net/runner-image:latest .
- id: push
run: docker push registry.mightycastle.net/runner-image:latest