misc,tests: Use GitHub Docker registry for 22.04 all-deps
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.
Change-Id: Iccdb1b7a912f1e0a0d82b7f888694958099315b3
This commit is contained in:
6
.github/workflows/ci-tests.yaml
vendored
6
.github/workflows/ci-tests.yaml
vendored
@@ -49,7 +49,7 @@ jobs:
|
||||
build-gem5:
|
||||
runs-on: [self-hosted, linux, x64, build]
|
||||
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
|
||||
outputs:
|
||||
artifactname: ${{ steps.name.outputs.test }}
|
||||
@@ -70,7 +70,7 @@ jobs:
|
||||
unittests-all-opt:
|
||||
runs-on: [self-hosted, linux, x64, run]
|
||||
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
|
||||
timeout-minutes: 60
|
||||
steps:
|
||||
@@ -83,7 +83,7 @@ jobs:
|
||||
testlib-quick:
|
||||
runs-on: [self-hosted, linux, x64, run]
|
||||
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]
|
||||
timeout-minutes: 360 # 6 hours
|
||||
steps:
|
||||
|
||||
2
.github/workflows/docker-build.yaml
vendored
2
.github/workflows/docker-build.yaml
vendored
@@ -5,7 +5,7 @@ on:
|
||||
jobs:
|
||||
obtain-dockerfiles:
|
||||
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:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
Reference in New Issue
Block a user