Skip to content

Commit

Permalink
github: no cached images on self-hosted runner
Browse files Browse the repository at this point in the history
Prevent the job from using cached images on the self-hosted runner to
make sure we are picking up the current state of the remote Debian repo.
GitHub runners start from scratch each time, so they won't have any
cached images available.

Signed-off-by: Gerwin Klein <[email protected]>
  • Loading branch information
lsf37 committed May 14, 2024
1 parent c66283a commit e0f4c24
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,12 @@ jobs:
runs-on: [self-hosted, macos, ARM64]
steps:
- uses: actions/checkout@v4
- run: ./build.sh -v -b sel4
# don't use cached images on the self-hosted runner to make sure we are
# picking up current Debian repo state. The GitHub runners start from
# scratch, so don't need it.
- run: ./build.sh -rv -b sel4
# the following will also build the plain camkes image:
- run: ./build.sh -v -b camkes -s cakeml -s rust
- run: ./build.sh -rv -b camkes -s cakeml -s rust

# This needs to rebuild the seL4 and camkes images (apart from cakeml/rust),
# but putting l4v in the same job as the large camkes-cakeml-rust image
Expand Down

0 comments on commit e0f4c24

Please sign in to comment.