runner-images/.forgejo/workflows/deploy.yml
Zi Gao 7092a92e8a
Some checks failed
/ deploy (push) Failing after 3s
added whoami
2025-06-08 22:42:13 +10:00

18 lines
486 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: check user
run: whoami
- 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