[ci] feat: try to skip buildcache
This commit is contained in:
parent
9e4ee15d8a
commit
e7e438f1a1
@ -31,7 +31,7 @@ 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`)'
|
build-args: 'GITEA_SHA=${{ gitea.sha }}'
|
||||||
context: '.'
|
context: '.'
|
||||||
file: 'Dockerfile.linux.amd64'
|
file: 'Dockerfile.linux.amd64'
|
||||||
push: true
|
push: true
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
FROM cr.simoncor.net/siempie/hugo-sws:latest
|
FROM cr.simoncor.net/siempie/hugo-sws:latest
|
||||||
|
|
||||||
# build cache date argument trick
|
# build cache date argument trick
|
||||||
ARG CACHE_DATE=2017-04-29
|
ARG GITEA_SHA=some_sha
|
||||||
RUN echo $CACHE_DATE
|
RUN echo $GITEA_SHA
|
||||||
|
|
||||||
# clone site and template
|
# clone site and template
|
||||||
RUN set -e \
|
RUN set -e \
|
||||||
|
Loading…
Reference in New Issue
Block a user