refactor: remove matrix.cache-to
`matrix.cache-to` is superfluous because it's always the same as the target. This was probably a hangover from an earlier design. PR: #20
This commit is contained in:
parent
5ef22c1759
commit
58b8d8ab6d
7
.github/workflows/containers.yml
vendored
7
.github/workflows/containers.yml
vendored
@ -20,11 +20,6 @@ jobs:
|
||||
target: # ordered from biggest to smallest to take advantage of the registry cache
|
||||
- dev
|
||||
- build
|
||||
include:
|
||||
- target: dev
|
||||
cache-to: dev
|
||||
- target: build
|
||||
cache-to: build
|
||||
steps:
|
||||
- name: Login to GitHub Container Registry
|
||||
uses: docker/login-action@v1
|
||||
@ -45,7 +40,7 @@ jobs:
|
||||
|
||||
CACHE_NAME=zmk-docker-cache
|
||||
CACHE_FROM=${CACHE_NAME}:dev
|
||||
CACHE_TO=${CACHE_NAME}:${{ matrix.cache-to }}
|
||||
CACHE_TO=${CACHE_NAME}:${{ matrix.target }}
|
||||
echo ::set-output name=cache-from::${CACHE_FROM}
|
||||
echo ::set-output name=cache-to::${CACHE_TO}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user