-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(action): Fix Docker caching permission error
GitHub Actions doesn't grant us permission to cache the Docker root directory even if Docker is running in rootless mode. Instead, on cache miss, export the images to a TAR archive at a path we have permission to cache and subsequently load from on cache hit. Composite actions don't yet support post steps, so port to a TypeScript action since Docker images can't be saved until after the calling workflow pulls or builds them. Use Yarn Zero-Installs, because dependencies of GitHub Actions must be version controlled, and Yarn Zero-Installs works by compressing and tracking all Node.js dependencies. Check in the dist directory output by TypeScript since GitHub Actions requires its presence in order to run the action and cannot directly execute TypeScript. Add cache-hit output so callers can branch if needed.
- Loading branch information
1 parent
0c5aee8
commit e6d02d6
Showing
304 changed files
with
17,112 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,15 @@ | ||
APPLY_FIXES: all | ||
FILTER_REGEX_EXCLUDE: \.pnp\.(c|loader\.m)js|\.yarn/|dist | ||
DEFAULT_BRANCH: main | ||
FAIL_IF_MISSING_LINTER_IN_FLAVOR: true | ||
FORMATTERS_DISABLE_ERRORS: false | ||
PRINT_ALPACA: false | ||
SHOW_ELAPSED_TIME: true | ||
CREDENTIALS_SECRETLINT_ARGUMENTS: --secretlintignore .gitignore | ||
JAVASCRIPT_DEFAULT_STYLE: prettier | ||
JSON_PRETTIER_FILE_EXTENSIONS: | ||
- .json | ||
- .md | ||
MARKDOWN_MARKDOWNLINT_CONFIG_FILE: .markdownlint.yaml | ||
SPELL_CSPELL_CONFIG_FILE: LINTER_DEFAULT | ||
TYPESCRIPT_DEFAULT_STYLE: prettier |
Oops, something went wrong.