Skip to content

Commit

Permalink
prevent caching
Browse files Browse the repository at this point in the history
  • Loading branch information
Eddykasp committed May 30, 2024
1 parent ed4307b commit 68bd7bf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/publish-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ jobs:
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max
build-args: CACHE_DATE=$(date +%Y-%m-%d:%H:%M:%S)

- name: Clean container registry
uses: actions/delete-package-versions@v5
Expand Down
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ RUN adduser elklive -h /elklive -D -u ${ELKLIVE_UID}

USER elklive

COPY . /elklive
ARG CACHE_DATE=not_a_date
RUN git clone https://github.com/kieler/elk-live --depth=1 /elklive

WORKDIR "/elklive/client"
RUN yarn install && yarn run build
Expand Down

0 comments on commit 68bd7bf

Please sign in to comment.