From 4e61a29994749ced078a3099ca0963af1b4d8818 Mon Sep 17 00:00:00 2001 From: Jack Kavanagh <3679927+jackkav@users.noreply.github.com> Date: Tue, 28 Jan 2025 09:41:10 +0000 Subject: [PATCH 1/6] Bump app version to 10.3.1-beta.1 --- package-lock.json | 10 +++++----- packages/insomnia-inso/package.json | 2 +- packages/insomnia-sdk/package.json | 2 +- packages/insomnia-smoke-test/package.json | 2 +- packages/insomnia-testing/package.json | 2 +- packages/insomnia/package.json | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/package-lock.json b/package-lock.json index 500b7afec65..b58b21eb37c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -23069,7 +23069,7 @@ } }, "packages/insomnia": { - "version": "10.3.1-beta.0", + "version": "10.3.1-beta.1", "license": "Apache-2.0", "dependencies": { "@apideck/better-ajv-errors": "^0.3.6", @@ -23222,7 +23222,7 @@ } }, "packages/insomnia-inso": { - "version": "10.3.1-beta.0", + "version": "10.3.1-beta.1", "license": "Apache-2.0", "dependencies": { "@seald-io/nedb": "^4.0.4", @@ -23255,7 +23255,7 @@ "license": "MIT" }, "packages/insomnia-sdk": { - "version": "10.3.1-beta.0", + "version": "10.3.1-beta.1", "license": "Apache-2.0", "dependencies": { "@types/deep-equal": "^1.0.4", @@ -23307,7 +23307,7 @@ } }, "packages/insomnia-smoke-test": { - "version": "10.3.1-beta.0", + "version": "10.3.1-beta.1", "license": "Apache-2.0", "devDependencies": { "@grpc/grpc-js": "^1.12.00", @@ -23335,7 +23335,7 @@ } }, "packages/insomnia-testing": { - "version": "10.3.1-beta.0", + "version": "10.3.1-beta.1", "license": "Apache-2.0" } } diff --git a/packages/insomnia-inso/package.json b/packages/insomnia-inso/package.json index 7701de15682..cccb35216fc 100644 --- a/packages/insomnia-inso/package.json +++ b/packages/insomnia-inso/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "insomnia-inso", - "version": "10.3.1-beta.0", + "version": "10.3.1-beta.1", "homepage": "https://insomnia.rest", "description": "A CLI for Insomnia - The Collaborative API Design Tool", "author": "Kong ", diff --git a/packages/insomnia-sdk/package.json b/packages/insomnia-sdk/package.json index 8558cb572e1..4689a4f02c3 100644 --- a/packages/insomnia-sdk/package.json +++ b/packages/insomnia-sdk/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "insomnia-sdk", - "version": "10.3.1-beta.0", + "version": "10.3.1-beta.1", "description": "", "main": "src/objects/index.ts", "types": "src/objects/index.ts", diff --git a/packages/insomnia-smoke-test/package.json b/packages/insomnia-smoke-test/package.json index 50dada504af..9946542b409 100644 --- a/packages/insomnia-smoke-test/package.json +++ b/packages/insomnia-smoke-test/package.json @@ -11,7 +11,7 @@ "bugs": { "url": "https://github.com/kong/insomnia/issues" }, - "version": "10.3.1-beta.0", + "version": "10.3.1-beta.1", "scripts": { "test:dev": "xvfb-maybe cross-env BUNDLE=dev playwright test", "test:build": "xvfb-maybe cross-env BUNDLE=build playwright test", diff --git a/packages/insomnia-testing/package.json b/packages/insomnia-testing/package.json index d4ac1f6f74a..f75f3b8d1c0 100644 --- a/packages/insomnia-testing/package.json +++ b/packages/insomnia-testing/package.json @@ -2,7 +2,7 @@ "private": true, "name": "insomnia-testing", "license": "Apache-2.0", - "version": "10.3.1-beta.0", + "version": "10.3.1-beta.1", "author": "Kong ", "repository": { "type": "git", diff --git a/packages/insomnia/package.json b/packages/insomnia/package.json index 85dd5b9e3fa..17dc5c5f062 100644 --- a/packages/insomnia/package.json +++ b/packages/insomnia/package.json @@ -1,6 +1,6 @@ { "name": "insomnia", - "version": "10.3.1-beta.0", + "version": "10.3.1-beta.1", "productName": "Insomnia", "private": true, "description": "The Collaborative API Design Tool", From 0d4ace6f70edaf6f7a042293294684524f3573f1 Mon Sep 17 00:00:00 2001 From: jackkav Date: Tue, 28 Jan 2025 13:28:48 +0100 Subject: [PATCH 2/6] support ubuntu 24 --- package-lock.json | 30 +++++++++++------------ packages/insomnia-smoke-test/package.json | 2 +- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/package-lock.json b/package-lock.json index b58b21eb37c..66d4cf9f871 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2941,19 +2941,19 @@ } }, "node_modules/@playwright/test": { - "version": "1.43.0", - "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.43.0.tgz", - "integrity": "sha512-Ebw0+MCqoYflop7wVKj711ccbNlrwTBCtjY5rlbiY9kHL2bCYxq+qltK6uPsVBGGAOb033H2VO0YobcQVxoW7Q==", + "version": "1.50.0", + "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.50.0.tgz", + "integrity": "sha512-ZGNXbt+d65EGjBORQHuYKj+XhCewlwpnSd/EDuLPZGSiEWmgOJB5RmMCCYGy5aMfTs9wx61RivfDKi8H/hcMvw==", "dev": true, "license": "Apache-2.0", "dependencies": { - "playwright": "1.43.0" + "playwright": "1.50.0" }, "bin": { "playwright": "cli.js" }, "engines": { - "node": ">=16" + "node": ">=18" } }, "node_modules/@prisma/instrumentation": { @@ -18022,35 +18022,35 @@ } }, "node_modules/playwright": { - "version": "1.43.0", - "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.43.0.tgz", - "integrity": "sha512-SiOKHbVjTSf6wHuGCbqrEyzlm6qvXcv7mENP+OZon1I07brfZLGdfWV0l/efAzVx7TF3Z45ov1gPEkku9q25YQ==", + "version": "1.50.0", + "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.50.0.tgz", + "integrity": "sha512-+GinGfGTrd2IfX1TA4N2gNmeIksSb+IAe589ZH+FlmpV3MYTx6+buChGIuDLQwrGNCw2lWibqV50fU510N7S+w==", "dev": true, "license": "Apache-2.0", "dependencies": { - "playwright-core": "1.43.0" + "playwright-core": "1.50.0" }, "bin": { "playwright": "cli.js" }, "engines": { - "node": ">=16" + "node": ">=18" }, "optionalDependencies": { "fsevents": "2.3.2" } }, "node_modules/playwright-core": { - "version": "1.43.0", - "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.43.0.tgz", - "integrity": "sha512-iWFjyBUH97+pUFiyTqSLd8cDMMOS0r2ZYz2qEsPjH8/bX++sbIJT35MSwKnp1r/OQBAqC5XO99xFbJ9XClhf4w==", + "version": "1.50.0", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.50.0.tgz", + "integrity": "sha512-CXkSSlr4JaZs2tZHI40DsZUN/NIwgaUPsyLuOAaIZp2CyF2sN5MM5NJsyB188lFSSozFxQ5fPT4qM+f0tH/6wQ==", "dev": true, "license": "Apache-2.0", "bin": { "playwright-core": "cli.js" }, "engines": { - "node": ">=16" + "node": ">=18" } }, "node_modules/playwright/node_modules/fsevents": { @@ -23312,7 +23312,7 @@ "devDependencies": { "@grpc/grpc-js": "^1.12.00", "@grpc/proto-loader": "^0.7.13", - "@playwright/test": "1.43.0", + "@playwright/test": "1.50.0", "@ravanallc/grpc-server-reflection": "^0.1.6", "@types/express": "^4.17.21", "@types/oidc-provider": "^8.4.4", diff --git a/packages/insomnia-smoke-test/package.json b/packages/insomnia-smoke-test/package.json index 9946542b409..58c893cdbf1 100644 --- a/packages/insomnia-smoke-test/package.json +++ b/packages/insomnia-smoke-test/package.json @@ -21,7 +21,7 @@ "devDependencies": { "@grpc/grpc-js": "^1.12.00", "@grpc/proto-loader": "^0.7.13", - "@playwright/test": "1.43.0", + "@playwright/test": "1.50.0", "@ravanallc/grpc-server-reflection": "^0.1.6", "@types/express": "^4.17.21", "@types/oidc-provider": "^8.4.4", From c4b77f39c55f0481526005dc588ede5796a991ad Mon Sep 17 00:00:00 2001 From: jackkav Date: Tue, 28 Jan 2025 13:41:17 +0100 Subject: [PATCH 3/6] only tag.gz for arm --- .github/workflows/release-build.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release-build.yml b/.github/workflows/release-build.yml index 42c2be7379c..93b7c0d08ed 100644 --- a/.github/workflows/release-build.yml +++ b/.github/workflows/release-build.yml @@ -71,13 +71,15 @@ jobs: run: | echo "INSO_VERSION=$(jq .version ./packages/${{ env.INSO_PACKAGE_NAME }}/package.json -rj)" >> $GITHUB_ENV - - name: Install snapcraft (Linux arm64 only) + - name: Package app (Linux arm64 only) if: runner.os == 'Linux' && runner.arch == 'arm64' shell: bash - run: sudo snap install snapcraft --classic + run: BUILD_TARGETS='tar.gz' npm run app-package + env: + NODE_OPTIONS: '--max_old_space_size=6144' - - name: Package app (Linux only) - if: runner.os == 'Linux' + - name: Package app (Linux x64 only) + if: runner.os == 'Linux' && runner.arch == 'x64' shell: bash run: npm run app-package env: From cc0cdb66ce9346748c1d4f0c1d06b0e0b5a7f5c0 Mon Sep 17 00:00:00 2001 From: jackkav Date: Tue, 28 Jan 2025 13:41:28 +0100 Subject: [PATCH 4/6] use ubuntu 22 --- .github/workflows/release-build.yml | 8 ++++---- .github/workflows/release-publish.yml | 2 +- .github/workflows/release-recurring.yml | 4 ++-- .github/workflows/release-start.yml | 2 +- .github/workflows/sast.yml | 2 +- .github/workflows/test-cli.yml | 4 ++-- .github/workflows/test.yml | 2 +- .github/workflows/update-changelog.yml | 2 +- 8 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/release-build.yml b/.github/workflows/release-build.yml index 93b7c0d08ed..9f3cce79729 100644 --- a/.github/workflows/release-build.yml +++ b/.github/workflows/release-build.yml @@ -12,7 +12,7 @@ concurrency: jobs: # shared kong github action for security checking generate-sbom-and-upload-assets: - runs-on: ubuntu-24.04 + runs-on: ubuntu-22.04 permissions: packages: write contents: write # publish sbom to GH releases/tag assets @@ -47,10 +47,10 @@ jobs: - os: windows-latest csc_link_secret: '' csc_key_password_secret: '' - - os: ubuntu-24.04 + - os: ubuntu-22.04 csc_link_secret: '' csc_key_password_secret: '' - - os: ubuntu-24.04-arm + - os: ubuntu-22.04-arm csc_link_secret: '' csc_key_password_secret: '' steps: @@ -250,7 +250,7 @@ jobs: update-pull-request: timeout-minutes: ${{ fromJSON(vars.GHA_DEFAULT_TIMEOUT) }} needs: build-and-upload-release-artifacts - runs-on: ubuntu-24.04 + runs-on: ubuntu-22.04 steps: - name: Get release version id: release_version diff --git a/.github/workflows/release-publish.yml b/.github/workflows/release-publish.yml index 3a00940014a..c8a39e6f468 100644 --- a/.github/workflows/release-publish.yml +++ b/.github/workflows/release-publish.yml @@ -20,7 +20,7 @@ env: jobs: publish: timeout-minutes: 15 - runs-on: ubuntu-24.04 + runs-on: ubuntu-22.04 outputs: NOTARY_REPOSITORY: ${{ env.NOTARY_REPOSITORY }} INSO_BINARY_ARTIFACTS_SUBJECTS_AS_FILE: ${{ steps.cli_binary_hashes.outputs.handle }} diff --git a/.github/workflows/release-recurring.yml b/.github/workflows/release-recurring.yml index f661effa51c..b5c80375ac8 100644 --- a/.github/workflows/release-recurring.yml +++ b/.github/workflows/release-recurring.yml @@ -30,9 +30,9 @@ jobs: build-targets: zip - os: windows-latest build-targets: portable - - os: ubuntu-24.04 + - os: ubuntu-22.04 build-targets: tar.gz - - os: ubuntu-24.04-arm + - os: ubuntu-22.04-arm build-targets: tar.gz steps: - name: Checkout branch diff --git a/.github/workflows/release-start.yml b/.github/workflows/release-start.yml index afdc333abf5..9476d8d4e89 100644 --- a/.github/workflows/release-start.yml +++ b/.github/workflows/release-start.yml @@ -19,7 +19,7 @@ on: jobs: setup-release-branch: timeout-minutes: 5 - runs-on: ubuntu-24.04 + runs-on: ubuntu-22.04 steps: - name: Checkout branch uses: actions/checkout@v4 diff --git a/.github/workflows/sast.yml b/.github/workflows/sast.yml index 171f89fb01c..6b9f39d682f 100644 --- a/.github/workflows/sast.yml +++ b/.github/workflows/sast.yml @@ -13,7 +13,7 @@ jobs: semgrep: timeout-minutes: 5 name: Semgrep SAST - runs-on: ubuntu-24.04 + runs-on: ubuntu-22.04 permissions: # required for all workflows security-events: write diff --git a/.github/workflows/test-cli.yml b/.github/workflows/test-cli.yml index 5af2e7a21dd..7742857d6b7 100644 --- a/.github/workflows/test-cli.yml +++ b/.github/workflows/test-cli.yml @@ -18,7 +18,7 @@ concurrency: jobs: Test: timeout-minutes: 10 - runs-on: ubuntu-24.04 + runs-on: ubuntu-22.04 steps: - name: Checkout branch uses: actions/checkout@v4 @@ -53,7 +53,7 @@ jobs: shell: bash run: | INSO_VERSION="$(jq .version packages/insomnia-inso/package.json -rj)-run.${{ github.run_number }}" - PKG_NAME="inso-ubuntu-24.04-$INSO_VERSION" + PKG_NAME="inso-ubuntu-22.04-$INSO_VERSION" echo "pkg-name=$PKG_NAME" >> $GITHUB_OUTPUT echo "inso-version=$INSO_VERSION" >> $GITHUB_OUTPUT diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 33d51917a2e..7d37db8feff 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -18,7 +18,7 @@ concurrency: jobs: Test: timeout-minutes: 20 - runs-on: ubuntu-24.04 + runs-on: ubuntu-22.04 steps: - name: Checkout branch uses: actions/checkout@v4 diff --git a/.github/workflows/update-changelog.yml b/.github/workflows/update-changelog.yml index 52060f8783d..778c70d44db 100644 --- a/.github/workflows/update-changelog.yml +++ b/.github/workflows/update-changelog.yml @@ -8,7 +8,7 @@ on: jobs: update: - runs-on: ubuntu-24.04 + runs-on: ubuntu-22.04 permissions: # Give the default GITHUB_TOKEN write permission to commit and push the From cf4d8edcbef0c72a190d06eb8c4bb69cbe755b63 Mon Sep 17 00:00:00 2001 From: jackkav Date: Tue, 28 Jan 2025 17:21:45 +0100 Subject: [PATCH 5/6] revert playwright bump --- package-lock.json | 128 +++++++++++----------- packages/insomnia-smoke-test/package.json | 2 +- 2 files changed, 65 insertions(+), 65 deletions(-) diff --git a/package-lock.json b/package-lock.json index 66d4cf9f871..eadc8b2a1e8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2940,22 +2940,6 @@ "node": ">=14" } }, - "node_modules/@playwright/test": { - "version": "1.50.0", - "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.50.0.tgz", - "integrity": "sha512-ZGNXbt+d65EGjBORQHuYKj+XhCewlwpnSd/EDuLPZGSiEWmgOJB5RmMCCYGy5aMfTs9wx61RivfDKi8H/hcMvw==", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "playwright": "1.50.0" - }, - "bin": { - "playwright": "cli.js" - }, - "engines": { - "node": ">=18" - } - }, "node_modules/@prisma/instrumentation": { "version": "5.17.0", "resolved": "https://registry.npmjs.org/@prisma/instrumentation/-/instrumentation-5.17.0.tgz", @@ -18021,53 +18005,6 @@ "node": ">= 6" } }, - "node_modules/playwright": { - "version": "1.50.0", - "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.50.0.tgz", - "integrity": "sha512-+GinGfGTrd2IfX1TA4N2gNmeIksSb+IAe589ZH+FlmpV3MYTx6+buChGIuDLQwrGNCw2lWibqV50fU510N7S+w==", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "playwright-core": "1.50.0" - }, - "bin": { - "playwright": "cli.js" - }, - "engines": { - "node": ">=18" - }, - "optionalDependencies": { - "fsevents": "2.3.2" - } - }, - "node_modules/playwright-core": { - "version": "1.50.0", - "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.50.0.tgz", - "integrity": "sha512-CXkSSlr4JaZs2tZHI40DsZUN/NIwgaUPsyLuOAaIZp2CyF2sN5MM5NJsyB188lFSSozFxQ5fPT4qM+f0tH/6wQ==", - "dev": true, - "license": "Apache-2.0", - "bin": { - "playwright-core": "cli.js" - }, - "engines": { - "node": ">=18" - } - }, - "node_modules/playwright/node_modules/fsevents": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", - "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", - "dev": true, - "hasInstallScript": true, - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": "^8.16.0 || ^10.6.0 || >=11.0.0" - } - }, "node_modules/plist": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/plist/-/plist-3.1.0.tgz", @@ -23312,7 +23249,7 @@ "devDependencies": { "@grpc/grpc-js": "^1.12.00", "@grpc/proto-loader": "^0.7.13", - "@playwright/test": "1.50.0", + "@playwright/test": "1.43.0", "@ravanallc/grpc-server-reflection": "^0.1.6", "@types/express": "^4.17.21", "@types/oidc-provider": "^8.4.4", @@ -23334,6 +23271,69 @@ "xvfb-maybe": "^0.2.1" } }, + "packages/insomnia-smoke-test/node_modules/@playwright/test": { + "version": "1.43.0", + "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.43.0.tgz", + "integrity": "sha512-Ebw0+MCqoYflop7wVKj711ccbNlrwTBCtjY5rlbiY9kHL2bCYxq+qltK6uPsVBGGAOb033H2VO0YobcQVxoW7Q==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "playwright": "1.43.0" + }, + "bin": { + "playwright": "cli.js" + }, + "engines": { + "node": ">=16" + } + }, + "packages/insomnia-smoke-test/node_modules/fsevents": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", + "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, + "packages/insomnia-smoke-test/node_modules/playwright": { + "version": "1.43.0", + "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.43.0.tgz", + "integrity": "sha512-SiOKHbVjTSf6wHuGCbqrEyzlm6qvXcv7mENP+OZon1I07brfZLGdfWV0l/efAzVx7TF3Z45ov1gPEkku9q25YQ==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "playwright-core": "1.43.0" + }, + "bin": { + "playwright": "cli.js" + }, + "engines": { + "node": ">=16" + }, + "optionalDependencies": { + "fsevents": "2.3.2" + } + }, + "packages/insomnia-smoke-test/node_modules/playwright-core": { + "version": "1.43.0", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.43.0.tgz", + "integrity": "sha512-iWFjyBUH97+pUFiyTqSLd8cDMMOS0r2ZYz2qEsPjH8/bX++sbIJT35MSwKnp1r/OQBAqC5XO99xFbJ9XClhf4w==", + "dev": true, + "license": "Apache-2.0", + "bin": { + "playwright-core": "cli.js" + }, + "engines": { + "node": ">=16" + } + }, "packages/insomnia-testing": { "version": "10.3.1-beta.1", "license": "Apache-2.0" diff --git a/packages/insomnia-smoke-test/package.json b/packages/insomnia-smoke-test/package.json index 58c893cdbf1..9946542b409 100644 --- a/packages/insomnia-smoke-test/package.json +++ b/packages/insomnia-smoke-test/package.json @@ -21,7 +21,7 @@ "devDependencies": { "@grpc/grpc-js": "^1.12.00", "@grpc/proto-loader": "^0.7.13", - "@playwright/test": "1.50.0", + "@playwright/test": "1.43.0", "@ravanallc/grpc-server-reflection": "^0.1.6", "@types/express": "^4.17.21", "@types/oidc-provider": "^8.4.4", From 9e38909f07c47f623802b645fbdaa6f053819dc0 Mon Sep 17 00:00:00 2001 From: Filipe Freire Date: Tue, 28 Jan 2025 16:58:34 +0000 Subject: [PATCH 6/6] exclude inso docker from arm build --- .github/workflows/release-build.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release-build.yml b/.github/workflows/release-build.yml index 9f3cce79729..2dc0bd8db0f 100644 --- a/.github/workflows/release-build.yml +++ b/.github/workflows/release-build.yml @@ -71,15 +71,15 @@ jobs: run: | echo "INSO_VERSION=$(jq .version ./packages/${{ env.INSO_PACKAGE_NAME }}/package.json -rj)" >> $GITHUB_ENV - - name: Package app (Linux arm64 only) - if: runner.os == 'Linux' && runner.arch == 'arm64' + - name: Package app (Linux ARM64 only) + if: runner.os == 'Linux' && runner.arch == 'ARM64' shell: bash run: BUILD_TARGETS='tar.gz' npm run app-package env: NODE_OPTIONS: '--max_old_space_size=6144' - - name: Package app (Linux x64 only) - if: runner.os == 'Linux' && runner.arch == 'x64' + - name: Package app (Linux X64 only) + if: runner.os == 'Linux' && runner.arch == 'X64' shell: bash run: npm run app-package env: @@ -202,7 +202,7 @@ jobs: run: npm run artifacts -w insomnia-inso - name: Create inso Docker Image artifacts - if: runner.os == 'Linux' + if: runner.os == 'Linux' && runner.arch == 'X64' run: | DOCKER_BUILDKIT=1 docker build --tag ${{ env.INSO_PACKAGE_NAME }}:temp ./packages/${{ env.INSO_PACKAGE_NAME }} docker save ${{ env.INSO_PACKAGE_NAME }}:temp -o ./packages/${{ env.INSO_PACKAGE_NAME }}/artifacts/${{ env.INSO_DOCKER_TAR }} @@ -211,7 +211,7 @@ jobs: # Automatically uploads to workflow assets - name: Scan inso docker artifacts id: sbom_action - if: runner.os == 'Linux' + if: runner.os == 'Linux' && runner.arch == 'X64' uses: Kong/public-shared-actions/security-actions/scan-docker-image@28d20a1f492927f35b00b317acd78f669c45f88b # v2.7.3 with: asset_prefix: image-inso-${{ runner.os }}-${{ runner.arch }}