Skip to content

Commit 9c6afbd

Browse files
Revert changes related to arm
Signed-off-by: Roman Nikitenko <rnikiten@redhat.com>
1 parent 792be46 commit 9c6afbd

2 files changed

Lines changed: 19 additions & 3 deletions

File tree

.github/workflows/pull-request-check-publish.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,22 @@ jobs:
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
@@ -92,5 +108,5 @@ jobs:
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
})

.github/workflows/pull-request-check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
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
@@ -79,7 +79,7 @@ jobs:
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

0 commit comments

Comments
 (0)