Skip to content

Commit

Permalink
[docker] use zstd compression and upgrade action (#15228)
Browse files Browse the repository at this point in the history
* [docker] use zstd compression
* [gha] upgrade docker action
  • Loading branch information
ibalajiarun authored Nov 15, 2024
1 parent b309830 commit a9b7e7b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/actions/buildx-setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,17 @@ description: Sets up buildx for docker builds

runs:
using: composite
steps:
steps:
- name: setup docker context for buildx
id: buildx-context
shell: bash
run: docker context create builders

- name: setup docker buildx
uses: aptos-labs/setup-buildx-action@7952e9cf0debaf1f3f3e5dc7d9c5ea6ececb127e # pin v2.4.0
uses: aptos-labs/setup-buildx-action@c47758b77c9736f4b2ef4073d4d51994fabfe349 # pin v3.7.1
with:
endpoint: builders
version: v0.11.0
custom-name: "core-builder"
version: v0.17.1
keep-state: true
config-inline: |
[worker.oci]
Expand All @@ -26,4 +25,4 @@ runs:
filters = [ "type==source.local", "type==exec.cachemount", "type==source.git.checkout"]
[[worker.oci.gcpolicy]]
all = true
keepBytes = 900000000000
keepBytes = 900000000000
1 change: 1 addition & 0 deletions docker/builder/docker-bake-rust-all.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ target "_common" {
GIT_TAG = "${GIT_TAG}"
BUILD_DATE = "${BUILD_DATE}"
}
output = ["type=image,compression=zstd,force-compression=true"]
}

target "validator-testing" {
Expand Down

0 comments on commit a9b7e7b

Please sign in to comment.