Initial commit
This commit is contained in:
commit
ef60b31c8c
2 changed files with 51 additions and 0 deletions
12
entrypoint.sh
Normal file
12
entrypoint.sh
Normal file
|
@ -0,0 +1,12 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
cp /config/.runner /builder/.runner
|
||||
chmod 600 /builder/.runner
|
||||
|
||||
mkdir -p /builder/.config/containers
|
||||
cp /config/auth.json /builder/.config/containers/auth.json
|
||||
chmod 600 /builder/.config/containers/auth.json
|
||||
|
||||
exec setpriv --ambient-caps "-all" /usr/local/bin/forgejo-runner one-job --config config.yaml
|
Loading…
Add table
Add a link
Reference in a new issue