Skip to content

Commit f7465da

Browse files
chore(deps): bump docker/build-push-action from 5 to 6 (#1540)
* chore(deps): bump docker/build-push-action from 5 to 6 Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 5 to 6. - [Release notes](https://github.com/docker/build-push-action/releases) - [Commits](docker/build-push-action@v5...v6) --- updated-dependencies: - dependency-name: docker/build-push-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * docker related updates --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Imod7 <[email protected]>
1 parent 45c4b1f commit f7465da

File tree

4 files changed

+15
-3
lines changed

4 files changed

+15
-3
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,10 @@ jobs:
167167
uses: actions/checkout@v4
168168

169169
- name: Build Docker image
170-
uses: docker/build-push-action@v5
170+
uses: docker/[email protected]
171+
env:
172+
DOCKER_BUILD_SUMMARY: false
173+
DOCKER_BUILD_RECORD_UPLOAD: false
171174
with:
172175
context: .
173176
file: ./Dockerfile

.github/workflows/deploy.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,10 @@ jobs:
6262
password: ${{ secrets.DOCKERHUB_PASSWORD }}
6363

6464
- name: Build Docker image
65-
uses: docker/build-push-action@v5
65+
uses: docker/[email protected]
66+
env:
67+
DOCKER_BUILD_SUMMARY: false
68+
DOCKER_BUILD_RECORD_UPLOAD: false
6669
with:
6770
context: .
6871
file: ./Dockerfile

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM docker.io/library/node:18.12.1-alpine as builder
1+
FROM docker.io/library/node:18.12.1-alpine AS builder
22

33
WORKDIR /opt/builder
44

Dockerfile.README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,9 @@ curl -s http://0.0.0.0:8080/blocks/head | jq
3535
```
3636

3737
**N.B.** The docker flow presented here is just a sample to help get started. Modifications may be necessary for secure usage.
38+
39+
### Build Summaries
40+
41+
Starting with [v6.0.0](https://github.com/docker/build-push-action/releases/tag/v6.0.0) of `docker/build-push-action` package, Docker-build summaries are generated and exported by default.
42+
Currently in Sidecar we do not have a major need to keep records of Docker builds, so we have disabled this feature by setting the `DOCKER_BUILD_RECORD_UPLOAD` and `DOCKER_BUILD_SUMMARY` environment variables to `false`.
43+
If this is needed in the future maybe for debugging reasons, we can adjust these variables accordingly.

0 commit comments

Comments
 (0)