Commit e7e438f1 authored by Simon Cornet's avatar Simon Cornet
Browse files

[ci] feat: try to skip buildcache

parent 9e4ee15d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -31,7 +31,7 @@ jobs:
      - name: 'Build and Publish'
        uses: 'docker/build-push-action@v6'
        with:
          build-args: 'CACHE_DATE=$(`date +%Y-%m-%d:%H:%M:%S`)' 
          build-args: 'GITEA_SHA=${{ gitea.sha }}' 
          context: '.'
          file: 'Dockerfile.linux.amd64'
          push: true
+2 −2
Original line number Diff line number Diff line
FROM cr.simoncor.net/siempie/hugo-sws:latest

# build cache date argument trick
ARG CACHE_DATE=2017-04-29
RUN echo $CACHE_DATE
ARG GITEA_SHA=some_sha
RUN echo $GITEA_SHA

# clone site and template
RUN set -e \