mirror of
https://github.com/TheRealOwenRees/chess-scribe-api.git
synced 2026-11-18 10:02:06 +00:00
add cache bust arg
This commit is contained in:
@@ -32,6 +32,8 @@ jobs:
|
|||||||
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
||||||
cache-from: type=gha
|
cache-from: type=gha
|
||||||
cache-to: type=gha,mode=max
|
cache-to: type=gha,mode=max
|
||||||
|
build-args: |
|
||||||
|
OPAM_CACHE_BUST=${{ github.run_id }}
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
needs: publish
|
needs: publish
|
||||||
|
|||||||
@@ -4,6 +4,8 @@ FROM ocaml/opam@sha256:f44a0401719551c26b8bdd990c5353aeb304f2896c1a4cc8d9159e95a
|
|||||||
USER opam
|
USER opam
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
|
ARG OPAM_CACHE_BUST=1
|
||||||
|
|
||||||
RUN cd /home/opam/opam-repository && git pull origin master
|
RUN cd /home/opam/opam-repository && git pull origin master
|
||||||
COPY --chown=opam:opam dune-project ./
|
COPY --chown=opam:opam dune-project ./
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user