This commit is contained in:
TingluoHuang
2020-09-12 23:40:47 -04:00
parent 993357df7d
commit ef72239ff8
5 changed files with 61 additions and 23 deletions

View File

@@ -12,4 +12,26 @@ spec:
template:
spec:
setupDockerInDocker: true
imagePullPolicy: Always
imagePullPolicy: Always
runnerUpdateHandler:
containers:
- name: update-image
image: huangtingluo/workflow_dispatch:latest
imagePullPolicy: Always
env:
- name: GITHUB_TOKEN
valueFrom:
secretKeyRef:
name: githubtoken
key: GITHUB_PAT
- name: GITHUB_OWNER
value: tingluohuang
- name: GITHUB_REPO
value: "k8s-runner-image"
- name: GITHUB_EXTRA_CURL_ARG
value: "-v"
- name: GITHUB_WORKFLOW
value: "docker-publish.yml"
- name: GITHUB_WORKFLOW_INPUTS
value: "{\"runnerDownloadUrl\":\"https://github.com/TingluoHuang/runner/releases/download/test/actions-runner-linux-x64-2.299.0.tar.gz\"}"
restartPolicy: Never