Skip to content

Commit 1988676

Browse files
- Improve.
1 parent d92e6fc commit 1988676

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1085,14 +1085,7 @@ jobs:
10851085
- linux/amd64
10861086
- linux/arm64
10871087

1088-
steps:
1089-
1090-
- name: Docker meta
1091-
id: meta
1092-
uses: docker/metadata-action@v5
1093-
with:
1094-
images: |
1095-
${{ env.STACKQL_IMAGE_NAME }}
1088+
steps:
10961089

10971090
- name: Check out code into the Go module directory
10981091
uses: actions/[email protected]
@@ -1209,15 +1202,19 @@ jobs:
12091202
platforms: ${{ matrix.platform }}
12101203
target: app
12111204
no-cache: ${{ vars.CI_DOCKER_BUILD_NO_CACHE == 'true' && true || false }}
1212-
load: true
12131205
tags: ${{ env.STACKQL_IMAGE_NAME }}:${{ github.sha }},${{ env.STACKQL_IMAGE_NAME }}:v${{env.BUILDMAJORVERSION}}.${{env.BUILDMINORVERSION}}.${{env.BUILDPATCHVERSION}},${{ env.STACKQL_IMAGE_NAME }}
12141206
outputs: type=docker,dest=${{ runner.temp }}/myimage-${{ env.IMAGE_PLATFORM_SAN }}.tar
12151207

12161208
- name: Upload artifact
12171209
uses: actions/upload-artifact@v4
12181210
with:
12191211
name: myimage-${{ matrix.platform }}
1220-
path: ${{ runner.temp }}/myimage-${{ matrix.platform }}.tar
1212+
path: ${{ runner.temp }}/myimage-${{ env.IMAGE_PLATFORM_SAN }}.tar
1213+
1214+
- name: Load image
1215+
run: |
1216+
docker load --input ${{ runner.temp }}/myimage-${{ env.IMAGE_PLATFORM_SAN }}.tar
1217+
docker image ls -a
12211218
12221219
- name: Debug info
12231220
run: |

0 commit comments

Comments
 (0)