mirror of
https://github.com/nicolabs/nicobot.git
synced 2025-09-07 05:14:01 +02:00
~ deactivating cache for alpine
This commit is contained in:
parent
6e8091c323
commit
96218c008e
22
.github/workflows/dockerhub.yml
vendored
22
.github/workflows/dockerhub.yml
vendored
|
@ -60,14 +60,14 @@ jobs:
|
|||
sudo df -h
|
||||
sudo apt clean
|
||||
|
||||
- name: Set up cache for Docker layers layers
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: /tmp/.buildx-cache
|
||||
key: ${{ runner.os }}-buildx-alpine-${{ github.sha }}
|
||||
# See https://docs.github.com/en/actions/guides/caching-dependencies-to-speed-up-workflows#matching-a-cache-key
|
||||
restore-keys: |
|
||||
${{ runner.os }}-buildx-alpine-
|
||||
# - name: Set up cache for Docker layers layers
|
||||
# uses: actions/cache@v2
|
||||
# with:
|
||||
# path: /tmp/.buildx-cache
|
||||
# key: ${{ runner.os }}-buildx-alpine-${{ github.sha }}
|
||||
# # See https://docs.github.com/en/actions/guides/caching-dependencies-to-speed-up-workflows#matching-a-cache-key
|
||||
# restore-keys: |
|
||||
# ${{ runner.os }}-buildx-alpine-
|
||||
|
||||
- name: Login to Docker Hub
|
||||
uses: docker/login-action@v1
|
||||
|
@ -88,9 +88,9 @@ jobs:
|
|||
labels: |
|
||||
${{ env.NICOBOT_VERSION }}
|
||||
${{ github.sha }}
|
||||
cache-from: type=local,src=/tmp/.buildx-cache
|
||||
# mode=max to cache intermediate layers : https://github.com/docker/buildx#--cache-tonametypetypekeyvalue
|
||||
cache-to: type=local,dest=/tmp/.buildx-cache,mode=max
|
||||
# cache-from: type=local,src=/tmp/.buildx-cache
|
||||
# # mode=max to cache intermediate layers : https://github.com/docker/buildx#--cache-tonametypetypekeyvalue
|
||||
# cache-to: type=local,dest=/tmp/.buildx-cache,mode=max
|
||||
|
||||
- name: Image digest
|
||||
run: echo ${{ steps.docker_build_alpine.outputs.digest }}
|
||||
|
|
Loading…
Reference in a new issue