[ci] feat: try to skip buildcache
This commit is contained in:
parent
562c94ae0c
commit
541de41fa6
@ -31,11 +31,11 @@ jobs:
|
|||||||
- name: 'Build and Publish'
|
- name: 'Build and Publish'
|
||||||
uses: 'docker/build-push-action@v6'
|
uses: 'docker/build-push-action@v6'
|
||||||
with:
|
with:
|
||||||
|
build-args: 'CACHE_DATE="$(date +%Y-%m-%d:%H:%M:%S)"'
|
||||||
context: '.'
|
context: '.'
|
||||||
file: 'Dockerfile.linux.amd64'
|
file: 'Dockerfile.linux.amd64'
|
||||||
push: true
|
push: true
|
||||||
tags: 'cr.simoncor.net/siempie/simoncor-net:latest,cr.simoncor.net/siempie/simoncor-net:${{ gitea.sha }}'
|
tags: 'cr.simoncor.net/siempie/simoncor-net:latest,cr.simoncor.net/siempie/simoncor-net:${{ gitea.sha }}'
|
||||||
cache-from: '/tmp/cache-folder'
|
|
||||||
|
|
||||||
|
|
||||||
# kubernetes deployment
|
# kubernetes deployment
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
FROM cr.simoncor.net/siempie/hugo-sws:latest
|
FROM cr.simoncor.net/siempie/hugo-sws:latest
|
||||||
|
|
||||||
|
# build cache date argument trick
|
||||||
|
ARG CACHE_DATE=2017-04-29
|
||||||
|
|
||||||
# clone site and template
|
# clone site and template
|
||||||
RUN set -e \
|
RUN set -e \
|
||||||
&& git clone --recursive https://git.simoncor.net/siempie/simoncor.net.git /site
|
&& git clone --recursive https://git.simoncor.net/siempie/simoncor.net.git /site
|
||||||
|
Loading…
Reference in New Issue
Block a user