Skip to content

Commit 8c263f3

Browse files
committed
Update build-push-action to latest v6
1 parent de96297 commit 8c263f3

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/docker.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ name: Tag Docker image
33
on:
44
push:
55
branches:
6-
- 'main'
6+
- "main"
77
tags:
8-
- 'v*'
8+
- "v*"
99

1010
env:
1111
REGISTRY: ghcr.io
@@ -41,7 +41,7 @@ jobs:
4141
uses: docker/setup-buildx-action@v3
4242

4343
- name: Build and push the Docker image
44-
uses: docker/build-push-action@v4
44+
uses: docker/build-push-action@v6
4545
with:
4646
context: .
4747
file: geth/Dockerfile
@@ -78,7 +78,7 @@ jobs:
7878
uses: docker/setup-buildx-action@v3
7979

8080
- name: Build and push the Docker image
81-
uses: docker/build-push-action@v4
81+
uses: docker/build-push-action@v6
8282
with:
8383
context: .
8484
file: reth/Dockerfile
@@ -96,29 +96,29 @@ jobs:
9696
steps:
9797
- name: Checkout
9898
uses: actions/checkout@v2
99-
99+
100100
- name: Log into the Container registry
101101
uses: docker/login-action@v3
102102
with:
103103
registry: ${{ env.REGISTRY }}
104104
username: ${{ github.actor }}
105105
password: ${{ secrets.GITHUB_TOKEN }}
106-
106+
107107
- name: Set up QEMU
108108
uses: docker/setup-qemu-action@v2
109109
with:
110110
platforms: ${{ matrix.arch }}
111-
111+
112112
- name: Set up Docker Buildx
113113
uses: docker/setup-buildx-action@v3
114-
114+
115115
- name: Extract metadata for the Docker image
116116
id: meta
117117
uses: docker/metadata-action@v4
118118
with:
119119
images: |
120120
${{ env.NAMESPACE }}/${{ env.NETHERMIND_IMAGE_NAME }}
121-
121+
122122
- name: Build and push the Docker image
123123
uses: docker/build-push-action@v6
124124
with:

0 commit comments

Comments
 (0)