misc,tests: Use GitHub Docker registry for 22.04 all-deps (#321)

Via this workflow we now can build and push our docker images to the
GitHub Docker container registry:

26a1ee4e61/.github/workflows/docker-build.yaml

GitHub does not charge for downloads to runners (hosted or self-hosted).
This can therefore save the project money if we download from GitHub's
Docker reigstry over Google Cloud's.

This is a test to ensure this works as intended.
This commit is contained in:
Bobby R. Bruce
2023-09-14 15:10:58 -07:00
committed by GitHub
2 changed files with 4 additions and 4 deletions

View File

@@ -49,7 +49,7 @@ jobs:
build-gem5: build-gem5:
runs-on: [self-hosted, linux, x64, build] runs-on: [self-hosted, linux, x64, build]
if: github.event.pull_request.draft == false if: github.event.pull_request.draft == false
container: gcr.io/gem5-test/ubuntu-22.04_all-dependencies:latest container: ghcr.io/gem5/ubuntu-22.04_all-dependencies:latest
needs: [pre-commit, check-for-change-id] # only runs if pre-commit and change-id passes needs: [pre-commit, check-for-change-id] # only runs if pre-commit and change-id passes
outputs: outputs:
artifactname: ${{ steps.name.outputs.test }} artifactname: ${{ steps.name.outputs.test }}
@@ -70,7 +70,7 @@ jobs:
unittests-all-opt: unittests-all-opt:
runs-on: [self-hosted, linux, x64, run] runs-on: [self-hosted, linux, x64, run]
if: github.event.pull_request.draft == false if: github.event.pull_request.draft == false
container: gcr.io/gem5-test/ubuntu-22.04_all-dependencies:latest container: ghcr.io/gem5/ubuntu-22.04_all-dependencies:latest
needs: [pre-commit, check-for-change-id] # only runs if pre-commit and change-id passes needs: [pre-commit, check-for-change-id] # only runs if pre-commit and change-id passes
timeout-minutes: 60 timeout-minutes: 60
steps: steps:
@@ -83,7 +83,7 @@ jobs:
testlib-quick: testlib-quick:
runs-on: [self-hosted, linux, x64, run] runs-on: [self-hosted, linux, x64, run]
if: github.event.pull_request.draft == false if: github.event.pull_request.draft == false
container: gcr.io/gem5-test/ubuntu-22.04_all-dependencies:latest container: ghcr.io/gem5/ubuntu-22.04_all-dependencies:latest
needs: [pre-commit, build-gem5, check-for-change-id] needs: [pre-commit, build-gem5, check-for-change-id]
timeout-minutes: 360 # 6 hours timeout-minutes: 360 # 6 hours
steps: steps:

View File

@@ -5,7 +5,7 @@ on:
jobs: jobs:
obtain-dockerfiles: obtain-dockerfiles:
runs-on: [self-hosted, linux, x64, run] runs-on: [self-hosted, linux, x64, run]
container: gcr.io/gem5-test/ubuntu-22.04_all-dependencies:latest container: ghcr.io/gem5/ubuntu-22.04_all-dependencies:latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3