Skip to content

Commit

Permalink
docs: update refs for file-bumper release
Browse files Browse the repository at this point in the history
  • Loading branch information
rcwbr committed Feb 15, 2025
1 parent 917f29d commit b3c71cc
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ To build your image using the GitHub cache bake file via
[remote bake definition](https://docs.docker.com/build/bake/remote-definition/), run this command:

```bash
REGISTRY=ghcr.io/[your account] IMAGE_NAME=[image name] docker buildx bake --file github-cache-bake.hcl https://github.com/rcwbr/dockerfile-partials.git#0.1.0
REGISTRY=ghcr.io/[your account] IMAGE_NAME=[image name] docker buildx bake --file github-cache-bake.hcl https://github.com/rcwbr/dockerfile-partials.git#0.4.0
```

### GitHub cache bake file inputs<a name="github-cache-bake-file-inputs"></a>
Expand Down Expand Up @@ -144,7 +144,7 @@ initialize script:
# .devcontainer/initialize
export DEVCONTAINER_DEFINITION_TYPE=bake
export DEVCONTAINER_DEFINITION_FILES="devcontainer-bake.hcl [path to each desired partial bake file] cwd://.devcontainer/devcontainer-bake.hcl"
export DEVCONTAINER_BUILD_ADDITIONAL_ARGS=https://github.com/rcwbr/dockerfile-partials.git#0.1.0
export DEVCONTAINER_BUILD_ADDITIONAL_ARGS=https://github.com/rcwbr/dockerfile-partials.git#0.4.0
curl https://raw.githubusercontent.com/rcwbr/devcontainer-cache-build/0.4.0/devcontainer-cache-build-initialize | bash
```

Expand Down Expand Up @@ -188,7 +188,7 @@ defined in the partials `devcontainer-bake.hcl`.
The partial bake files may be used manually through a command like this:

```bash
docker buildx bake --file devcontainer-bake.hcl [--file arg for each desired partial bake file] --file cwd://.devcontainer/devcontainer-bake.hcl https://github.com/rcwbr/dockerfile-partials.git#0.1.0
docker buildx bake --file devcontainer-bake.hcl [--file arg for each desired partial bake file] --file cwd://.devcontainer/devcontainer-bake.hcl https://github.com/rcwbr/dockerfile-partials.git#0.4.0
```

## Devcontainer script integration<a name="devcontainer-script-integration"></a>
Expand All @@ -215,7 +215,7 @@ target "base" {
}
target "default" {
context = "https://github.com/rcwbr/dockerfile_partials.git#0.1.0"
context = "https://github.com/rcwbr/dockerfile_partials.git#0.4.0"
dockerfile = "docker-client/Dockerfile"
contexts = {
base_context = "target:base"
Expand Down Expand Up @@ -295,7 +295,7 @@ target "base" {
}
target "default" {
context = "https://github.com/rcwbr/dockerfile_partials.git#0.1.0"
context = "https://github.com/rcwbr/dockerfile_partials.git#0.4.0"
dockerfile = "pre-commit/Dockerfile"
contexts = {
base_context = "target:base"
Expand Down Expand Up @@ -402,7 +402,7 @@ target "base" {
}
target "default" {
context = "https://github.com/rcwbr/dockerfile_partials.git#0.1.0"
context = "https://github.com/rcwbr/dockerfile_partials.git#0.4.0"
dockerfile = "useradd/Dockerfile"
contexts = {
base_context = "target:base"
Expand Down

0 comments on commit b3c71cc

Please sign in to comment.