Skip to content

Commit 5566df4

Browse files
authored
Merge pull request #22 from crazy-max/update-toolkit-2
bump @docker/actions-toolkit from 0.9.0 to 0.10.0
2 parents d1b108b + 766484b commit 5566df4

File tree

5 files changed

+35
-12
lines changed

5 files changed

+35
-12
lines changed

.github/workflows/ci.yml

+28-5
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ jobs:
4545
uses: ./
4646
with:
4747
version: ${{ env.DOCKER_VERSION }}
48+
-
49+
name: Dump context
50+
if: always()
51+
uses: crazy-max/ghaction-dump-context@v2
4852

4953
channel:
5054
runs-on: ${{ matrix.os }}
@@ -65,6 +69,10 @@ jobs:
6569
with:
6670
version: v23.0.0-rc.4
6771
channel: test
72+
-
73+
name: Dump context
74+
if: always()
75+
uses: crazy-max/ghaction-dump-context@v2
6876

6977
context:
7078
runs-on: ${{ matrix.os }}
@@ -89,14 +97,13 @@ jobs:
8997
name: Check context
9098
run: |
9199
docker context inspect foo
100+
-
101+
name: Dump context
102+
if: always()
103+
uses: crazy-max/ghaction-dump-context@v2
92104

93105
build-linux:
94106
runs-on: ubuntu-latest
95-
services:
96-
registry:
97-
image: registry:2
98-
ports:
99-
- 5000:5000
100107
steps:
101108
-
102109
name: Checkout
@@ -106,6 +113,10 @@ jobs:
106113
uses: ./
107114
with:
108115
version: ${{ env.DOCKER_VERSION }}
116+
-
117+
name: Start registry
118+
run: |
119+
docker run -d -p 5000:5000 --restart=always --name registry registry:2
109120
-
110121
name: Set up Docker Buildx
111122
uses: docker/setup-buildx-action@v2
@@ -124,6 +135,10 @@ jobs:
124135
name: Inspect
125136
run: |
126137
docker buildx imagetools inspect localhost:5000/name/app:latest --format '{{json .}}'
138+
-
139+
name: Dump context
140+
if: always()
141+
uses: crazy-max/ghaction-dump-context@v2
127142

128143
build-macos:
129144
runs-on: macos-latest
@@ -158,6 +173,10 @@ jobs:
158173
name: Inspect
159174
run: |
160175
docker buildx imagetools inspect localhost:5000/name/app:latest --format '{{json .}}'
176+
-
177+
name: Dump context
178+
if: always()
179+
uses: crazy-max/ghaction-dump-context@v2
161180

162181
build-windows:
163182
runs-on: windows-latest
@@ -179,3 +198,7 @@ jobs:
179198
name: Inspect
180199
run: |
181200
docker image inspect test
201+
-
202+
name: Dump context
203+
if: always()
204+
uses: crazy-max/ghaction-dump-context@v2

dist/index.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"license": "Apache-2.0",
2323
"dependencies": {
2424
"@actions/core": "^1.10.0",
25-
"@docker/actions-toolkit": "^0.9.0",
25+
"@docker/actions-toolkit": "^0.10.0",
2626
"uuid": "^9.0.0"
2727
},
2828
"devDependencies": {

yarn.lock

+4-4
Original file line numberDiff line numberDiff line change
@@ -480,10 +480,10 @@
480480
dependencies:
481481
"@cspotcode/source-map-consumer" "0.8.0"
482482

483-
"@docker/actions-toolkit@^0.9.0":
484-
version "0.9.0"
485-
resolved "https://registry.yarnpkg.com/@docker/actions-toolkit/-/actions-toolkit-0.9.0.tgz#0739749b4e155cf1dae04b14e06545efb5649044"
486-
integrity sha512-FMLGBd0Kk+PuVtzrZMJ8Ytgaq8cRvD43zKhQz1i5cS85etCfE4ie8hjLHMfvUaojibvd10ryGuZGuJm/BEh39g==
483+
"@docker/actions-toolkit@^0.10.0":
484+
version "0.10.0"
485+
resolved "https://registry.yarnpkg.com/@docker/actions-toolkit/-/actions-toolkit-0.10.0.tgz#5a2769ae48c93c689db2b9c665cd9fb80123c419"
486+
integrity sha512-87ivF6QROwDTeWCfIEK+JLkp5H0f/HGuDF4/VlulvZQFARiv344Xi5MBFTAU4Zd3kxKYEE2RwTw01aYDLr08Nw==
487487
dependencies:
488488
"@actions/cache" "^3.2.2"
489489
"@actions/core" "^1.10.0"

0 commit comments

Comments
 (0)