Skip to content

Commit 4666d25

Browse files
committed
readme: update to v6
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
1 parent 030e881 commit 4666d25

1 file changed

Lines changed: 11 additions & 19 deletions

File tree

README.md

Lines changed: 11 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -75,27 +75,23 @@ jobs:
7575
docker:
7676
runs-on: ubuntu-latest
7777
steps:
78-
-
79-
name: Checkout
80-
uses: actions/checkout@v6
8178
-
8279
name: Docker meta
8380
id: meta
84-
uses: docker/metadata-action@v5
81+
uses: docker/metadata-action@v6
8582
with:
8683
images: name/app
8784
-
8885
name: Login to DockerHub
8986
if: github.event_name != 'pull_request'
90-
uses: docker/login-action@v3
87+
uses: docker/login-action@v4
9188
with:
9289
username: ${{ secrets.DOCKERHUB_USERNAME }}
9390
password: ${{ secrets.DOCKERHUB_TOKEN }}
9491
-
9592
name: Build and push
9693
uses: docker/build-push-action@v6
9794
with:
98-
context: .
9995
push: ${{ github.event_name != 'pull_request' }}
10096
tags: ${{ steps.meta.outputs.tags }}
10197
labels: ${{ steps.meta.outputs.labels }}
@@ -129,13 +125,10 @@ jobs:
129125
docker:
130126
runs-on: ubuntu-latest
131127
steps:
132-
-
133-
name: Checkout
134-
uses: actions/checkout@v6
135128
-
136129
name: Docker meta
137130
id: meta
138-
uses: docker/metadata-action@v5
131+
uses: docker/metadata-action@v6
139132
with:
140133
images: |
141134
name/app
@@ -147,15 +140,14 @@ jobs:
147140
-
148141
name: Login to DockerHub
149142
if: github.event_name != 'pull_request'
150-
uses: docker/login-action@v3
143+
uses: docker/login-action@v4
151144
with:
152145
username: ${{ secrets.DOCKERHUB_USERNAME }}
153146
password: ${{ secrets.DOCKERHUB_TOKEN }}
154147
-
155148
name: Build and push
156149
uses: docker/build-push-action@v6
157150
with:
158-
context: .
159151
push: ${{ github.event_name != 'pull_request' }}
160152
tags: ${{ steps.meta.outputs.tags }}
161153
labels: ${{ steps.meta.outputs.labels }}
@@ -210,7 +202,7 @@ jobs:
210202
-
211203
name: Docker meta
212204
id: meta
213-
uses: docker/metadata-action@v5
205+
uses: docker/metadata-action@v6
214206
with:
215207
images: |
216208
name/app
@@ -728,7 +720,7 @@ increase this length for larger repositories by setting the
728720
-
729721
name: Docker meta
730722
id: meta
731-
uses: docker/metadata-action@v5
723+
uses: docker/metadata-action@v6
732724
with:
733725
images: |
734726
name/app
@@ -939,7 +931,7 @@ that you can reuse them further in your workflow using the [`fromJSON` function]
939931
```yaml
940932
-
941933
name: Docker meta
942-
uses: docker/metadata-action@v5
934+
uses: docker/metadata-action@v6
943935
id: meta
944936
with:
945937
images: name/app
@@ -965,7 +957,7 @@ this:
965957
-
966958
name: Docker meta
967959
id: meta
968-
uses: docker/metadata-action@v5
960+
uses: docker/metadata-action@v6
969961
with:
970962
images: name/app
971963
labels: |
@@ -987,7 +979,7 @@ of the `metadata-action`:
987979
```yaml
988980
-
989981
name: Docker meta
990-
uses: docker/metadata-action@v5
982+
uses: docker/metadata-action@v6
991983
with:
992984
images: name/app
993985
-
@@ -1003,7 +995,7 @@ The same can be done with the [`bake-action`](https://github.com/docker/bake-act
1003995
```yaml
1004996
-
1005997
name: Docker meta
1006-
uses: docker/metadata-action@v5
998+
uses: docker/metadata-action@v6
1007999
with:
10081000
images: name/app
10091001
-
@@ -1032,7 +1024,7 @@ Please consult the documentation of your registry.
10321024
```yaml
10331025
-
10341026
name: Docker meta
1035-
uses: docker/metadata-action@v5
1027+
uses: docker/metadata-action@v6
10361028
with:
10371029
images: name/app
10381030
env:

0 commit comments

Comments
 (0)