-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #20 from henryjw/update-readme-2.1.4
add `skip-extraction` option to example on README
- Loading branch information
Showing
1 changed file
with
6 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,25 +46,29 @@ jobs: | |
with: | ||
images: YOUR_IMAGE | ||
- name: Cache var-cache-apt | ||
id: cache-var-cache-apt | ||
uses: actions/cache@v3 | ||
with: | ||
path: var-cache-apt | ||
key: var-cache-apt-${{ hashFiles('Dockerfile') }} | ||
- name: Cache var-lib-apt | ||
id: cache-var-lib-apt | ||
uses: actions/cache@v3 | ||
with: | ||
path: var-lib-apt | ||
key: var-lib-apt-${{ hashFiles('Dockerfile') }} | ||
- name: inject var-cache-apt into docker | ||
uses: reproducible-containers/[email protected].3 | ||
uses: reproducible-containers/[email protected].4 | ||
with: | ||
cache-source: var-cache-apt | ||
cache-target: /var/cache/apt | ||
skip-extraction: ${{ steps.cache-var-cache-apt.outputs.cache-hit }} | ||
- name: inject var-lib-apt into docker | ||
uses: reproducible-containers/[email protected].3 | ||
uses: reproducible-containers/[email protected].4 | ||
with: | ||
cache-source: var-lib-apt | ||
cache-target: /var/lib/apt | ||
skip-extraction: ${{ steps.cache-var-lib-apt.outputs.cache-hit }} | ||
- name: Build and push | ||
uses: docker/build-push-action@v5 | ||
with: | ||
|