Add workflow for autobuild

Signed-off-by: Christian Richter <crichter@suse.com>
This commit is contained in:
Christian Richter
2021-09-03 14:35:23 +02:00
parent 5907d64d71
commit de6830f9b6
2 changed files with 43 additions and 1 deletions

View File

@@ -16,5 +16,5 @@ curl -o ${FILE} -L https://github.com/actions/runner/releases/download/v${VERSIO
echo "${CHECKSUM} ${FILE}" | shasum -a 256 -c
tar xzf ./${FILE}
./bin/installdependencies.sh
su runner -c "./config.sh --unattended --url https://github.com/${ORG}/${REPO} --token ${TOKEN} --name docker-runner-$(hostname)"
su runner -c "./config.sh --unattended --url https://github.com/${ORG}/${REPO} --token ${TOKEN} --name docker-runner-$(hostname) --labels=${ARCH},${OS},self-hosted"
su runner -c "./run.sh"