Skip to content

Commit

Permalink
Merge pull request #20 from henryjw/update-readme-2.1.4
Browse files Browse the repository at this point in the history
add `skip-extraction` option to example on README
  • Loading branch information
AkihiroSuda authored Jan 23, 2024
2 parents 4b2444f + dee34a8 commit e2c919a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit e2c919a

Please sign in to comment.