Skip to content

Commit 17187b5

Browse files
committed
Updated the version #
1 parent 7e57b5f commit 17187b5

4 files changed

Lines changed: 31 additions & 31 deletions

File tree

PUBLISHING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ Once a release is created with a proper tag:
6262
```
6363
3. **Usage Reference**: Users can reference it as:
6464
```yaml
65-
uses: apicurio/apicurio-github-actions/save-docker-image@v1
65+
uses: apicurio/apicurio-github-actions/save-docker-image@v2
6666
```
6767
6868
## 📦 Version Management
@@ -80,8 +80,8 @@ The release workflow automatically creates/updates major version tags:
8080

8181
This allows users to reference stable major versions:
8282
```yaml
83-
uses: apicurio/apicurio-github-actions/save-docker-image@v1 # Always latest v1.x.x
84-
uses: apicurio/apicurio-github-actions/save-docker-image@v1.0.0 # Specific version
83+
uses: apicurio/apicurio-github-actions/save-docker-image@v2 # Always latest v2.x.x
84+
uses: apicurio/apicurio-github-actions/save-docker-image@v2.0.0 # Specific version
8585
```
8686

8787
## 🔍 Action Structure

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Save a Docker image to a tar file for later use, caching, or distribution.
1313
**Usage:**
1414
```yaml
1515
- name: Save Docker Image
16-
uses: apicurio/apicurio-github-actions/save-docker-image@v1
16+
uses: apicurio/apicurio-github-actions/save-docker-image@v2
1717
with:
1818
image-name: 'my-app'
1919
tag: 'latest'

load-docker-image/README.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ A GitHub Action to download and load a Docker image from an artifact created by
1818

1919
```yaml
2020
- name: Load Docker Image
21-
uses: apicurio/apicurio-github-actions/load-docker-image@v1
21+
uses: apicurio/apicurio-github-actions/load-docker-image@v2
2222
with:
2323
artifact-name: 'docker-image'
2424
```
@@ -27,7 +27,7 @@ A GitHub Action to download and load a Docker image from an artifact created by
2727
2828
```yaml
2929
- name: Load Docker Image
30-
uses: apicurio/apicurio-github-actions/load-docker-image@v1
30+
uses: apicurio/apicurio-github-actions/load-docker-image@v2
3131
with:
3232
artifact-name: 'my-app-image'
3333
image-file: './images/my-app.tar'
@@ -39,7 +39,7 @@ A GitHub Action to download and load a Docker image from an artifact created by
3939
4040
```yaml
4141
- name: Load Docker Image from Existing File
42-
uses: apicurio/apicurio-github-actions/load-docker-image@v1
42+
uses: apicurio/apicurio-github-actions/load-docker-image@v2
4343
with:
4444
download: 'false'
4545
image-file: './pre-existing/my-app.tar'
@@ -69,7 +69,7 @@ jobs:
6969
docker build -t my-app:latest .
7070
7171
- name: Save Docker image
72-
uses: apicurio/apicurio-github-actions/save-docker-image@v1
72+
uses: apicurio/apicurio-github-actions/save-docker-image@v2
7373
with:
7474
image-name: 'my-app'
7575
tag: 'latest'
@@ -82,7 +82,7 @@ jobs:
8282
steps:
8383
- name: Load Docker image
8484
id: load-image
85-
uses: apicurio/apicurio-github-actions/load-docker-image@v1
85+
uses: apicurio/apicurio-github-actions/load-docker-image@v2
8686
with:
8787
artifact-name: 'my-app-docker-image'
8888
image-name: 'my-app'
@@ -129,7 +129,7 @@ jobs:
129129
runs-on: ubuntu-latest
130130
steps:
131131
- name: Build and save image
132-
uses: apicurio/apicurio-github-actions/save-docker-image@v1
132+
uses: apicurio/apicurio-github-actions/save-docker-image@v2
133133
with:
134134
image-name: 'my-app'
135135
artifact-name: 'my-app-docker-image'
@@ -139,7 +139,7 @@ jobs:
139139
runs-on: ubuntu-latest
140140
steps:
141141
- name: Load Docker image
142-
uses: apicurio/apicurio-github-actions/load-docker-image@v1
142+
uses: apicurio/apicurio-github-actions/load-docker-image@v2
143143
with:
144144
artifact-name: 'my-app-docker-image'
145145
@@ -151,7 +151,7 @@ jobs:
151151
runs-on: ubuntu-latest
152152
steps:
153153
- name: Load Docker image
154-
uses: apicurio/apicurio-github-actions/load-docker-image@v1
154+
uses: apicurio/apicurio-github-actions/load-docker-image@v2
155155
with:
156156
artifact-name: 'my-app-docker-image'
157157
@@ -168,7 +168,7 @@ Verify that the loaded image matches expectations:
168168
```yaml
169169
- name: Load and verify Docker image
170170
id: load-image
171-
uses: apicurio/apicurio-github-actions/load-docker-image@v1
171+
uses: apicurio/apicurio-github-actions/load-docker-image@v2
172172
with:
173173
artifact-name: 'production-image'
174174
image-name: 'my-app'
@@ -197,7 +197,7 @@ runs-on: ${{ matrix.os }}
197197
198198
steps:
199199
- name: Load Docker image
200-
uses: apicurio/apicurio-github-actions/load-docker-image@v1
200+
uses: apicurio/apicurio-github-actions/load-docker-image@v2
201201
with:
202202
artifact-name: 'cross-platform-image'
203203
```
@@ -218,7 +218,7 @@ Load images only when needed:
218218
219219
- name: Load Docker image if not exists
220220
if: steps.check-image.outputs.exists == 'false'
221-
uses: apicurio/apicurio-github-actions/load-docker-image@v1
221+
uses: apicurio/apicurio-github-actions/load-docker-image@v2
222222
with:
223223
artifact-name: 'my-app-docker-image'
224224
```
@@ -229,14 +229,14 @@ Load multiple Docker images in a single job:
229229

230230
```yaml
231231
- name: Load application image
232-
uses: apicurio/apicurio-github-actions/load-docker-image@v1
232+
uses: apicurio/apicurio-github-actions/load-docker-image@v2
233233
with:
234234
artifact-name: 'app-image'
235235
image-file: './images/app.tar'
236236
image-name: 'my-app'
237237
238238
- name: Load database image
239-
uses: apicurio/apicurio-github-actions/load-docker-image@v1
239+
uses: apicurio/apicurio-github-actions/load-docker-image@v2
240240
with:
241241
artifact-name: 'db-image'
242242
image-file: './images/db.tar'
@@ -254,7 +254,7 @@ Organize Docker images in specific directories:
254254

255255
```yaml
256256
- name: Load Docker Image to Custom Location
257-
uses: apicurio/apicurio-github-actions/load-docker-image@v1
257+
uses: apicurio/apicurio-github-actions/load-docker-image@v2
258258
with:
259259
artifact-name: 'my-app-image'
260260
image-file: './build/artifacts/images/my-app-v1.2.3.tar'
@@ -273,7 +273,7 @@ Use when you already have the image file and want to skip the download step:
273273
cp /external/path/my-app.tar ./my-app.tar
274274
275275
- name: Load existing Docker image
276-
uses: apicurio/apicurio-github-actions/load-docker-image@v1
276+
uses: apicurio/apicurio-github-actions/load-docker-image@v2
277277
with:
278278
download: 'false'
279279
image-file: './my-app.tar'
@@ -297,14 +297,14 @@ Download only if the image file doesn't already exist:
297297
298298
- name: Load from cache (skip download)
299299
if: steps.check-file.outputs.exists == 'true'
300-
uses: apicurio/apicurio-github-actions/load-docker-image@v1
300+
uses: apicurio/apicurio-github-actions/load-docker-image@v2
301301
with:
302302
download: 'false'
303303
image-file: './cache/my-app.tar'
304304
305305
- name: Download and load image
306306
if: steps.check-file.outputs.exists == 'false'
307-
uses: apicurio/apicurio-github-actions/load-docker-image@v1
307+
uses: apicurio/apicurio-github-actions/load-docker-image@v2
308308
with:
309309
artifact-name: 'my-app-image'
310310
image-file: './cache/my-app.tar'
@@ -350,15 +350,15 @@ This action is designed to work seamlessly with the `save-docker-image` action:
350350
```yaml
351351
# Job 1: Save image
352352
- name: Save Docker image
353-
uses: apicurio/apicurio-github-actions/save-docker-image@v1
353+
uses: apicurio/apicurio-github-actions/save-docker-image@v2
354354
with:
355355
image-name: 'my-app'
356356
tag: 'v1.0.0'
357357
artifact-name: 'my-app-image'
358358
359359
# Job 2: Load image (in different job/workflow)
360360
- name: Load Docker image
361-
uses: apicurio/apicurio-github-actions/load-docker-image@v1
361+
uses: apicurio/apicurio-github-actions/load-docker-image@v2
362362
with:
363363
artifact-name: 'my-app-image' # Same as save action
364364
image-name: 'my-app' # Same as save action

save-docker-image/README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ A GitHub Action to save a Docker image to a tar file for later use, caching, or
1919

2020
```yaml
2121
- name: Save Docker Image
22-
uses: apicurio/apicurio-github-actions/save-docker-image@v1
22+
uses: apicurio/apicurio-github-actions/save-docker-image@v2
2323
with:
2424
image-name: 'nginx'
2525
```
@@ -28,7 +28,7 @@ A GitHub Action to save a Docker image to a tar file for later use, caching, or
2828
2929
```yaml
3030
- name: Save Docker Image
31-
uses: apicurio/apicurio-github-actions/save-docker-image@v1
31+
uses: apicurio/apicurio-github-actions/save-docker-image@v2
3232
with:
3333
image-name: 'my-app'
3434
tag: 'v1.2.3'
@@ -58,7 +58,7 @@ jobs:
5858
5959
- name: Save Docker image
6060
id: save-image
61-
uses: apicurio/apicurio-github-actions/save-docker-image@v1
61+
uses: apicurio/apicurio-github-actions/save-docker-image@v2
6262
with:
6363
image-name: 'my-app'
6464
tag: 'latest'
@@ -102,7 +102,7 @@ Save built images to avoid rebuilding in subsequent workflow runs:
102102

103103
```yaml
104104
- name: Save Docker image for caching
105-
uses: apicurio/apicurio-github-actions/save-docker-image@v1
105+
uses: apicurio/apicurio-github-actions/save-docker-image@v2
106106
with:
107107
image-name: 'my-app'
108108
output-path: './cache/my-app.tar'
@@ -120,7 +120,7 @@ The action automatically uploads the saved Docker image as an artifact (enabled
120120

121121
```yaml
122122
- name: Save and upload Docker image
123-
uses: apicurio/apicurio-github-actions/save-docker-image@v1
123+
uses: apicurio/apicurio-github-actions/save-docker-image@v2
124124
with:
125125
image-name: 'my-app'
126126
artifact-name: 'my-app-image'
@@ -131,7 +131,7 @@ To disable automatic artifact upload:
131131

132132
```yaml
133133
- name: Save Docker image (no upload)
134-
uses: apicurio/apicurio-github-actions/save-docker-image@v1
134+
uses: apicurio/apicurio-github-actions/save-docker-image@v2
135135
with:
136136
image-name: 'my-app'
137137
upload: 'false'
@@ -147,7 +147,7 @@ jobs:
147147
runs-on: ubuntu-latest
148148
steps:
149149
- name: Build and save image
150-
uses: apicurio/apicurio-github-actions/save-docker-image@v1
150+
uses: apicurio/apicurio-github-actions/save-docker-image@v2
151151
with:
152152
image-name: 'my-app'
153153
artifact-name: 'my-app-docker-image'
@@ -172,7 +172,7 @@ Include Docker images as release artifacts:
172172

173173
```yaml
174174
- name: Save release image
175-
uses: apicurio/apicurio-github-actions/save-docker-image@v1
175+
uses: apicurio/apicurio-github-actions/save-docker-image@v2
176176
with:
177177
image-name: 'my-app'
178178
tag: ${{ github.ref_name }}

0 commit comments

Comments
 (0)