var for images

This commit is contained in:
cascode 2023-10-21 14:14:01 -07:00
parent 3cad519f00
commit 0c3ecb2730
1 changed files with 5 additions and 9 deletions

View File

@ -11,10 +11,10 @@ on:
jobs: jobs:
# TODO(cascode) cache checkout for build and test stages? # TODO(cascode) cache checkout for build and test stages?
lint:
container:
# TODO use communitymedia docker registry # TODO use communitymedia docker registry
image: "cascode/aural-isle-ci:0" lint:
container: &BUILD_CONTAINER
image: "cascode/aural-isle-ci:2"
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
with: with:
@ -22,9 +22,7 @@ jobs:
- name: rustfmt - name: rustfmt
run: cargo fmt --check run: cargo fmt --check
build: build:
container: container: *BUILD_CONTAINER
# TODO use communitymedia docker registry
image: "cascode/aural-isle-ci:2"
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
with: with:
@ -33,9 +31,7 @@ jobs:
run: cargo build run: cargo build
# TODO(cascode) cache builds for test stage # TODO(cascode) cache builds for test stage
test: test:
container: container: *BUILD_CONTAINER
# TODO use communitymedia docker registry
image: "cascode/aural-isle-ci:2"
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
with: with: