feat: add no-cache secret
Acts as a flag to force the workflow to ignore the cache.
This commit is contained in:
parent
434bd09f6e
commit
413a53ae13
2
.github/workflows/containers.yml
vendored
2
.github/workflows/containers.yml
vendored
@ -4,7 +4,7 @@ env:
|
|||||||
zephyr-version: 2.4.0
|
zephyr-version: 2.4.0
|
||||||
zephyr-sdk-version: 0.11.4
|
zephyr-sdk-version: 0.11.4
|
||||||
sha-abbrev-length: 12
|
sha-abbrev-length: 12
|
||||||
no-cache: ${{ github.event_name == 'workflow_dispatch' || github.event_name == 'schedule' }}
|
no-cache: ${{ secrets.NO_CACHE != null || github.event_name == 'workflow_dispatch' || github.event_name == 'schedule' }}
|
||||||
run-unit-tests: ${{ secrets.RUN_UNIT_TESTS != null }}
|
run-unit-tests: ${{ secrets.RUN_UNIT_TESTS != null }}
|
||||||
docker-hub-credentials: ${{ secrets.DOCKER_HUB_USERNAME != null && secrets.DOCKER_HUB_TOKEN != null }}
|
docker-hub-credentials: ${{ secrets.DOCKER_HUB_USERNAME != null && secrets.DOCKER_HUB_TOKEN != null }}
|
||||||
ghcr-credentials: ${{ secrets.GHCR_USERNAME != null && secrets.GHCR_TOKEN != null }}
|
ghcr-credentials: ${{ secrets.GHCR_USERNAME != null && secrets.GHCR_TOKEN != null }}
|
||||||
|
Loading…
Reference in New Issue
Block a user