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