refactor: change zmk-dev-generic-cache
into zmk-dev-generic
image
Makes it easier to inspect the layers/image. PR: zmkfirmware/zmk-docker#73
This commit is contained in:
parent
413a53ae13
commit
f0b02aecfd
7
.github/workflows/containers.yml
vendored
7
.github/workflows/containers.yml
vendored
@ -101,7 +101,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
NS: ${{ env.docker-hub-namespace }}
|
NS: ${{ env.docker-hub-namespace }}
|
||||||
NSU: ${{ env.docker-hub-namespace-upstream }}
|
NSU: ${{ env.docker-hub-namespace-upstream }}
|
||||||
REPOSITORY: zmk-dev-generic-cache
|
REPOSITORY: zmk-dev-generic
|
||||||
BRANCH: ${{ needs.tags.outputs.branch }}
|
BRANCH: ${{ needs.tags.outputs.branch }}
|
||||||
BASE: ${{ needs.tags.outputs.base }}
|
BASE: ${{ needs.tags.outputs.base }}
|
||||||
MAJOR_MINOR_BRANCH: ${{ needs.tags.outputs.major-minor-branch }}
|
MAJOR_MINOR_BRANCH: ${{ needs.tags.outputs.major-minor-branch }}
|
||||||
@ -154,8 +154,11 @@ jobs:
|
|||||||
target: dev-generic
|
target: dev-generic
|
||||||
build-args: |
|
build-args: |
|
||||||
ZEPHYR_VERSION=${{ env.zephyr-version }}
|
ZEPHYR_VERSION=${{ env.zephyr-version }}
|
||||||
|
tags: |
|
||||||
|
${{ steps.paths.outputs.branch }}
|
||||||
cache-from: type=local,src=${{ steps.paths.outputs.local-new }}
|
cache-from: type=local,src=${{ steps.paths.outputs.local-new }}
|
||||||
cache-to: type=registry,ref=${{ steps.paths.outputs.branch }},mode=max
|
cache-to: type=inline
|
||||||
|
push: true
|
||||||
# Workaround to stop the dev-generic cache ballooning ...
|
# Workaround to stop the dev-generic cache ballooning ...
|
||||||
# https://github.com/docker/build-push-action/issues/252
|
# https://github.com/docker/build-push-action/issues/252
|
||||||
# https://github.com/moby/buildkit/issues/1896
|
# https://github.com/moby/buildkit/issues/1896
|
||||||
|
Loading…
Reference in New Issue
Block a user