Loading .gitea/workflows/build.yaml +1 −1 Original line number Diff line number Diff line Loading @@ -31,11 +31,11 @@ jobs: - name: 'Build and Publish' uses: 'docker/build-push-action@v6' with: build-args: 'CACHE_DATE="$(date +%Y-%m-%d:%H:%M:%S)"' context: '.' file: 'Dockerfile.linux.amd64' push: true tags: 'cr.simoncor.net/siempie/simoncor-net:latest,cr.simoncor.net/siempie/simoncor-net:${{ gitea.sha }}' cache-from: '/tmp/cache-folder' # kubernetes deployment Loading Dockerfile.linux.amd64 +3 −0 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 # clone site and template RUN set -e \ && git clone --recursive https://git.simoncor.net/siempie/simoncor.net.git /site Loading Loading
.gitea/workflows/build.yaml +1 −1 Original line number Diff line number Diff line Loading @@ -31,11 +31,11 @@ jobs: - name: 'Build and Publish' uses: 'docker/build-push-action@v6' with: build-args: 'CACHE_DATE="$(date +%Y-%m-%d:%H:%M:%S)"' context: '.' file: 'Dockerfile.linux.amd64' push: true tags: 'cr.simoncor.net/siempie/simoncor-net:latest,cr.simoncor.net/siempie/simoncor-net:${{ gitea.sha }}' cache-from: '/tmp/cache-folder' # kubernetes deployment Loading
Dockerfile.linux.amd64 +3 −0 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 # clone site and template RUN set -e \ && git clone --recursive https://git.simoncor.net/siempie/simoncor.net.git /site Loading