Skip to content

Commit

Permalink
Pull to avoid needless layer rebuilds in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
WardBrian committed Feb 6, 2025
1 parent 9fc2ad1 commit 1f16fc0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ jobs:

- name: Build and push base image
run: |
docker pull ghcr.io/ocaml-cross/windows-x64-base:${{ matrix.ocaml_version }} || true
docker build -t ghcr.io/ocaml-cross/windows-x64-base:${{ matrix.ocaml_version }} -f tests/Dockerfile.base . \
--build-arg IMAGE=${{env.BASE_IMAGE}} --build-arg SYSTEM=x64 --build-arg COMPILER=${{ matrix.ocaml_version }}
docker push ghcr.io/ocaml-cross/windows-x64-base:${{ matrix.ocaml_version }}

0 comments on commit 1f16fc0

Please sign in to comment.