Skip to content

Commit

Permalink
Merge pull request #42 from rcwbr/7-convert-github-cache-bakehcl-usag…
Browse files Browse the repository at this point in the history
…e-to-tag-refs

feat: lock dockerfile-partials ref to tag
  • Loading branch information
rcwbr authored Oct 31, 2024
2 parents e4f9b2e + 69b20ee commit 2faf05d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/push-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
uses: docker/[email protected]
with:
workdir: base
source: https://github.com/rcwbr/dockerfile-partials.git#main
source: https://github.com/rcwbr/dockerfile-partials.git#0.1.0
files: github-cache-bake.hcl
set: |
default.context=cwd://
Expand All @@ -38,7 +38,7 @@ jobs:
uses: docker/[email protected]
with:
workdir: conventional-changelog
source: https://github.com/rcwbr/dockerfile-partials.git#main
source: https://github.com/rcwbr/dockerfile-partials.git#0.1.0
files: github-cache-bake.hcl, cwd://docker-bake.hcl
set: |
default.context=cwd://
Expand Down
2 changes: 1 addition & 1 deletion conventional-changelog/docker-bake.hcl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Expected to be used with https://github.com/rcwbr/dockerfile-partials/blob/main/github-cache-bake.hcl
// For example, docker buildx bake -f github-cache-bake.hcl -f cwd://docker-bake.hcl https://github.com/rcwbr/dockerfile-partials.git#main
// For example, docker buildx bake -f github-cache-bake.hcl -f cwd://docker-bake.hcl https://github.com/rcwbr/dockerfile-partials.git#0.1.0

target "default" {
contexts = {
Expand Down

0 comments on commit 2faf05d

Please sign in to comment.