Checkout runner image
This commit is contained in:
parent
13d1ded709
commit
b0662d1372
1 changed files with 8 additions and 0 deletions
|
|
@ -12,6 +12,14 @@ jobs:
|
||||||
name: Build & push runner image
|
name: Build & push runner image
|
||||||
runs-on: docker-cli-node24 # the label of your runner
|
runs-on: docker-cli-node24 # the label of your runner
|
||||||
steps:
|
steps:
|
||||||
|
- name: Checkout runner Dockerfile only
|
||||||
|
uses: actions/checkout@v5
|
||||||
|
with:
|
||||||
|
sparse-checkout: |
|
||||||
|
.forgejo/runners/Dockerfile
|
||||||
|
sparse-checkout-cone-mode: false
|
||||||
|
fetch-depth: 1
|
||||||
|
|
||||||
- name: Build & push runner image
|
- name: Build & push runner image
|
||||||
run: |
|
run: |
|
||||||
docker build --network=host -t ${{ vars.REGISTRY_URL }}/asteroids/runner:latest -f .forgejo/runner/Dockerfile .
|
docker build --network=host -t ${{ vars.REGISTRY_URL }}/asteroids/runner:latest -f .forgejo/runner/Dockerfile .
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue