~ deactivating cache for alpine

This commit is contained in:
nicobo 2021-02-15 21:39:44 +01:00
parent 6e8091c323
commit 96218c008e
No known key found for this signature in database
GPG key ID: 2581E71C5FA5285F

View file

@ -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 }}