Skip to content

Commit 672cd5f

Browse files
committed
build image to the file
1 parent 9e66a92 commit 672cd5f

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,12 +94,15 @@ jobs:
9494
file: ./openam-distribution/openam-distribution-docker/Dockerfile
9595
build-args: |
9696
VERSION=${{ env.release_version }}
97-
platforms: linux/amd64, linux/arm64, linux/ppc64le, linux/s390x
97+
platforms: linux/amd64, linux/arm64
9898
push: true
9999
tags: ${{ steps.meta.outputs.tags }}
100100
labels: ${{ steps.meta.outputs.labels }}
101101
- name: Export image to file
102-
run: docker save -o ${{ runner.temp }}/openam-tmp-image.tar localhost:5000/${GITHUB_REPOSITORY,,}:${{ env.release_version }}
102+
shell: bash
103+
run: |
104+
docker image ls -a
105+
docker save -o ${{ runner.temp }}/openam-tmp-image.tar localhost:5000/${GITHUB_REPOSITORY,,}:${{ env.release_version }}
103106
- name: Docker test
104107
shell: bash
105108
run: |

0 commit comments

Comments
 (0)