fix(actions): install bash into the runner before testing
Some checks failed
/ validate (push) Failing after 2s
Some checks failed
/ validate (push) Failing after 2s
This commit is contained in:
parent
7aaafc6fc4
commit
1202879644
2 changed files with 7 additions and 9 deletions
|
|
@ -7,6 +7,8 @@ jobs:
|
|||
validate:
|
||||
runs-on: docker
|
||||
steps:
|
||||
- name: Setup
|
||||
run: apk add bash
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ spec:
|
|||
app: forgejo-runner
|
||||
spec:
|
||||
containers:
|
||||
- name: runner
|
||||
- name: runner
|
||||
image: code.forgejo.org/forgejo/runner:3.5.1
|
||||
command:
|
||||
- sh
|
||||
|
|
@ -25,11 +25,7 @@ spec:
|
|||
--token ${FORGEJO_RUNNER_REGISTRATION_TOKEN} \
|
||||
--name ${FORGEJO_RUNNER_NAME} \
|
||||
--labels docker:docker://node:22-alpine && \
|
||||
<<<<<<< HEAD
|
||||
sleep 5 && \
|
||||
=======
|
||||
sleep 5 && \
|
||||
>>>>>>> main
|
||||
forgejo-runner daemon
|
||||
env:
|
||||
- name: FORGEJO_INSTANCE_URL
|
||||
|
|
@ -48,10 +44,10 @@ spec:
|
|||
volumeMounts:
|
||||
- name: dind-storage
|
||||
mountPath: /var/lib/docker
|
||||
- name: dind
|
||||
image: docker:dind
|
||||
securityContext:
|
||||
privileged: true
|
||||
- name: dind
|
||||
image: docker:dind
|
||||
securityContext:
|
||||
privileged: true
|
||||
env:
|
||||
- name: DOCKER_TLS_CERTDIR
|
||||
value: ""
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue