File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8282 run : |
8383 docker image rm che-code-amd64 || true
8484 docker system prune -af
85+
86+ - name : Load che-code-arm64 image
87+ run : |
88+ docker load -i che-code-arm64.tgz
89+
90+ - name : Push che-code-arm64 docker image
91+ run : |
92+ export IMAGE=quay.io/${{ secrets.QUAY_USERNAME }}/che-code:pr-${{env._PR_NUMBER}}-arm64
93+ docker tag che-code-arm64 ${IMAGE}
94+ docker push ${IMAGE}
95+ echo "_CHE_CODE_ARM64_IMAGE=${IMAGE}" >> $GITHUB_ENV
96+
97+ - name : Remove che-code-arm64 and prune
98+ run : |
99+ docker image rm che-code-arm64 || true
100+ docker system prune -af
85101
86102 - name : ' Comment PR'
87103 uses : actions/github-script@v7
92108 issue_number: process.env._PR_NUMBER,
93109 owner: context.repo.owner,
94110 repo: context.repo.repo,
95- body: `Pull Request images published ✨\n\nEditor amd64: [${process.env._CHE_CODE_AMD64_IMAGE}](https://${process.env._CHE_CODE_AMD64_IMAGE})`
111+ body: `Pull Request images published ✨\n\nEditor amd64: [${process.env._CHE_CODE_AMD64_IMAGE}](https://${process.env._CHE_CODE_AMD64_IMAGE})\nEditor arm64: [${process.env._CHE_CODE_ARM64_IMAGE}](https://${process.env._CHE_CODE_ARM64_IMAGE}) `
96112 })
Original file line number Diff line number Diff line change 4242 fail-fast : false
4343 matrix :
4444 dist : ['libc-ubi8', 'libc-ubi9', 'musl']
45- runners : ['ubuntu-22.04']
45+ runners : ['ubuntu-22.04', 'ubuntu-22.04-arm' ]
4646 runs-on : ${{matrix.runners}}
4747 steps :
4848 - name : Set arch environment variable
7979 strategy :
8080 fail-fast : false
8181 matrix :
82- runners : ['ubuntu-22.04']
82+ runners : ['ubuntu-22.04', 'ubuntu-22.04-arm' ]
8383 runs-on : ${{matrix.runners}}
8484 steps :
8585 - name : Set arch environment variable
You can’t perform that action at this time.
0 commit comments