Skip to content

Commit e9982dc

Browse files
committed
rework some things, testing
1 parent b2481c2 commit e9982dc

2 files changed

Lines changed: 5 additions & 13 deletions

File tree

actions/build-push-docker/action.yml

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ inputs:
1919
See `--no-cache` flag in:
2020
https://docs.docker.com/engine/reference/commandline/buildx_build/#cache
2121
required: false
22-
default: "true"
22+
default: "false"
2323
docker-save-cache:
2424
description: |
2525
Whether to save the Docker build cache after the build. If set to `false`,
@@ -30,21 +30,13 @@ inputs:
3030
# See: https://github.com/moby/buildkit#github-actions-cache-experimental
3131
docker-build-cache-from:
3232
description: |
33-
Source of Docker build cache.
34-
35-
",scope=buildkit-<runner arch>" is appended to this input in order to set
36-
caching for the specific runner architecture.
33+
Source of Docker build cache. Defaulted below.
3734
required: false
38-
default: "type=gha,timeout=10m"
3935
# See: https://github.com/moby/buildkit#github-actions-cache-experimental
4036
docker-build-cache-to:
4137
description: |
42-
Destination of Docker build cache.
43-
44-
",scope=buildkit-<runner arch>" is appended to this input in order to set
45-
caching for the specific runner architecture.
38+
Destination of Docker build cache. Defaulted below.
4639
required: false
47-
default: "type=gha,timeout=10m,mode=max,ignore-error=true"
4840
docker-push:
4941
description: "Push the docker image. Build only (no push) if: false."
5042
required: false
@@ -340,7 +332,7 @@ runs:
340332
341333
- name: Build & push image
342334
id: build-image
343-
uses: docker/build-push-action@ca877d9245402d1537745e0e356eab47c3520991 # v6.13.0
335+
uses: docker/build-push-action@d08e5c354a6adb9ed34480a06d141179aa583294 # v7.0.0
344336
env:
345337
DOCKER_BUILD_CHECKS_ANNOTATIONS: true
346338
DOCKER_BUILD_SUMMARY: true

actions/ctf-build-image/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ runs:
168168

169169
- name: Build push docker image
170170
id: build-image
171-
uses: smartcontractkit/.github/actions/build-push-docker@test/ctf-build-image-docker-caching
171+
uses: smartcontractkit/.github/actions/build-push-docker@test/ctf-build-image-docker-caching # build-push-docker/v1
172172
with:
173173
context: .
174174
platform: ${{ inputs.platform }}

0 commit comments

Comments
 (0)