18 lines
486 B
YAML
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
|
|
|