-
Notifications
You must be signed in to change notification settings - Fork 58
docs: remove duplicate steps from Readme #24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
docs: remove duplicate steps from Readme
- Loading branch information
commit a3d54a591f4a11b717d437fcb20e2c482b26cf8e
There are no files selected for viewing
This file contains hidden or 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 |
|---|---|---|
|
|
@@ -45,30 +45,21 @@ jobs: | |
| id: meta | ||
| 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] | ||
| 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] | ||
| 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: | ||
|
|
||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
var-lib-apt is not a duplicate of var-cache-apt
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, okay. The code is so terse, it is hard to read. Is this boilerplate repetition needed because of not supporting an array API? Why not have an array of source-to-target maps?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
idk, maybe ask in https://github.com/actions/cache/discussions ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
actions/cache supports multiple paths in one call. It seems buildkit-cache-dance lacks this support
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Contribution is wanted to add the support