Skip to content

Commit 17ff722

Browse files
authored
fix: use arm build (#1980)
1 parent 64b5538 commit 17ff722

6 files changed

Lines changed: 7 additions & 319 deletions

File tree

.github/workflows/deploy-dev.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ permissions:
1414
jobs:
1515
build:
1616
name: Build & Push Image
17-
runs-on: ubuntu-latest
17+
runs-on: ubuntu-24.04-arm
1818
environment: development
1919

2020
steps:

.github/workflows/deploy-prod.yml

Lines changed: 0 additions & 155 deletions
This file was deleted.

.github/workflows/deploy-stage.yml

Lines changed: 0 additions & 156 deletions
This file was deleted.

.github/workflows/release-please.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ permissions:
1515

1616
jobs:
1717
release-please:
18-
runs-on: ubuntu-latest
18+
runs-on: ubuntu-24.04-arm
1919
steps:
2020
- uses: googleapis/release-please-action@v4
2121
id: release

.github/workflows/test.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ on:
44
push:
55
branches:
66
- main
7-
- 1466-fix-item-login # allow test to run for a temporary deploy
87
pull_request:
98
merge_group:
109

@@ -96,7 +95,7 @@ jobs:
9695
- name: Setup Node
9796
uses: actions/setup-node@v4
9897
with:
99-
node-version: 20
98+
node-version: 22
10099

101100
- name: Get yarn cache directory
102101
id: yarn-cache-dir-path
@@ -174,7 +173,7 @@ jobs:
174173
- name: Setup Node
175174
uses: actions/setup-node@v4
176175
with:
177-
node-version: 20
176+
node-version: 22
178177

179178
- name: Get yarn cache directory
180179
id: yarn-cache-dir-path

docker/build.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ workers_tag_full="$aws_ecr_uri/$workers_tag_short"
3737
migrate_tag_short="graasp:migrate-$tag_version"
3838
migrate_tag_full="$aws_ecr_uri/$migrate_tag_short"
3939

40-
docker build -t $core_tag_full -f docker/Dockerfile --platform linux/amd64 --build-arg APP_VERSION=$tag_version --build-arg BUILD_TIMESTAMP=$(date -u +%Y-%m-%dT%H:%M:%S) .
40+
docker build -t $core_tag_full -f docker/Dockerfile --build-arg APP_VERSION=$tag_version --build-arg BUILD_TIMESTAMP=$(date -u +%Y-%m-%dT%H:%M:%S) .
4141
docker push $core_tag_full
4242

43-
docker build -t $workers_tag_full -f docker/workers.Dockerfile --platform linux/amd64 --build-arg APP_VERSION=$tag_version --build-arg BUILD_TIMESTAMP=$(date -u +%Y-%m-%dT%H:%M:%S) .
43+
docker build -t $workers_tag_full -f docker/workers.Dockerfile --build-arg APP_VERSION=$tag_version --build-arg BUILD_TIMESTAMP=$(date -u +%Y-%m-%dT%H:%M:%S) .
4444
docker push $workers_tag_full
4545

46-
docker build -t $migrate_tag_full -f docker/migrate.Dockerfile --platform linux/amd64 .
46+
docker build -t $migrate_tag_full -f docker/migrate.Dockerfile .
4747
docker push $migrate_tag_full

0 commit comments

Comments
 (0)