feat(runner): change image to catthehacker for debugging
This commit is contained in:
parent
9497cacf42
commit
fe530636d4
2 changed files with 6 additions and 3 deletions
|
|
@ -1,8 +1,9 @@
|
||||||
# docker run -e METADATA_URL=https://garm.garm-provider-test.t09.de/api/v1/metadata -e CALLBACK_URL=https://garm.garm-provider-test.t09.de/api/v1/callbacks -e GITHUB_URL=https://garm-provider-test.t09.de/ -e RUNNER_NAME="lala" -e BEARER_TOKEN="" test
|
# docker run -e METADATA_URL=https://garm.garm-provider-test.t09.de/api/v1/metadata -e CALLBACK_URL=https://garm.garm-provider-test.t09.de/api/v1/callbacks -e GITHUB_URL=https://garm-provider-test.t09.de/ -e RUNNER_NAME="lala" -e BEARER_TOKEN="$BEARER_TOKEN" test
|
||||||
FROM code.forgejo.org/forgejo/runner:11
|
FROM ghcr.io/catthehacker/ubuntu:act-22.04
|
||||||
|
|
||||||
USER root
|
USER root
|
||||||
RUN apk add curl
|
RUN curl https://code.forgejo.org/forgejo/runner/releases/download/v11.2.0/forgejo-runner-11.2.0-linux-amd64 -o /bin/forgejo-runner && \
|
||||||
|
chmod +x /bin/forgejo-runner
|
||||||
|
|
||||||
COPY ./entrypoint.sh /entrypoint.sh
|
COPY ./entrypoint.sh /entrypoint.sh
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,8 @@ RUNNER_HOME=${RUNNER_HOME:-/data}
|
||||||
set -ex
|
set -ex
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
|
|
||||||
|
mkdir -p ${RUNNER_HOME}
|
||||||
|
|
||||||
if [ ! -d "${RUNNER_HOME}" ]; then
|
if [ ! -d "${RUNNER_HOME}" ]; then
|
||||||
log.error "$RUNNER_HOME should be an emptyDir mount. Please fix the pod spec."
|
log.error "$RUNNER_HOME should be an emptyDir mount. Please fix the pod spec."
|
||||||
exit 1
|
exit 1
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue