mirror of
https://github.com/actions/actions-runner-controller.git
synced 2025-12-15 06:26:57 +00:00
feat: add docker-compose and clean up the default runner (#1924)
* feat: clean and add docker-compose * feat: make docker compose download arch aware * fix: use new ARG name * fix: correct case in url * ci: add some debug output to workflow * ci: add ARG for docker * fix: various fixes * chore: more alignment changes * chore: use /usr/bin over /usr/local/bin * chore: more logical order * fix: add recursive flag * chore: actions/runner stuff with actions/runner * ci: bump checkout to latest * fix: rootless build Co-authored-by: toast-gear <toast-gear@users.noreply.github.com> Co-authored-by: Yusuke Kuoka <ykuoka@gmail.com>
This commit is contained in:
5
.github/workflows/runners.yaml
vendored
5
.github/workflows/runners.yaml
vendored
@@ -63,6 +63,10 @@ jobs:
|
||||
ghcr_username: ${{ github.actor }}
|
||||
ghcr_password: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Set-Up Build Environment
|
||||
run: |
|
||||
echo "TARGETPLATFORM=$(arch)" >> $GITHUB_ENV
|
||||
|
||||
- name: Build and Push Versioned Tags
|
||||
uses: docker/build-push-action@v3
|
||||
with:
|
||||
@@ -71,6 +75,7 @@ jobs:
|
||||
platforms: linux/amd64,linux/arm64
|
||||
push: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
|
||||
build-args: |
|
||||
TARGETPLATFORM=${{ env.TARGETPLATFORM }}
|
||||
RUNNER_VERSION=${{ env.RUNNER_VERSION }}
|
||||
DOCKER_VERSION=${{ env.DOCKER_VERSION }}
|
||||
RUNNER_CONTAINER_HOOKS_VERSION=${{ env.RUNNER_CONTAINER_HOOKS_VERSION }}
|
||||
|
||||
2
.github/workflows/validate-runners.yaml
vendored
2
.github/workflows/validate-runners.yaml
vendored
@@ -17,7 +17,7 @@ jobs:
|
||||
name: runner / shellcheck
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: actions/checkout@v3
|
||||
- name: shellcheck
|
||||
uses: reviewdog/action-shellcheck@v1
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user