|
17 | 17 | jobs: |
18 | 18 | build-and-test: |
19 | 19 | name: Build, Test, and Deploy |
20 | | - runs-on: coral-ci |
| 20 | + runs-on: ubuntu-24.04-arm |
21 | 21 | steps: |
22 | 22 | - name: Checkout |
23 | | - uses: actions/checkout@v3 |
| 23 | + uses: actions/checkout@v4 |
24 | 24 | - name: Set up Docker Buildx |
25 | 25 | uses: docker/setup-buildx-action@v3 |
26 | | - - uses: webfactory/ssh-agent@v0.7.0 |
| 26 | + - uses: webfactory/ssh-agent@v0.9.0 |
27 | 27 | with: |
28 | 28 | ssh-private-key: ${{ secrets.REPO_PATCHED_DEPLOY_KEY }} |
29 | 29 | - name: Authenticate with GCP |
30 | 30 | id: "auth" |
31 | | - uses: "google-github-actions/auth@v1" |
| 31 | + uses: "google-github-actions/auth@v2" |
32 | 32 | with: |
33 | 33 | credentials_json: "${{ secrets.GAR_JSON_KEY }}" |
34 | 34 | - name: Set up Cloud SDK |
35 | | - uses: "google-github-actions/setup-gcloud@v1" |
| 35 | + uses: "google-github-actions/setup-gcloud@v2" |
36 | 36 | - name: Login to Docker Hub |
37 | | - uses: docker/login-action@v2 |
| 37 | + uses: docker/login-action@v3 |
38 | 38 | with: |
39 | 39 | username: ${{ env.DOCKERHUB_USERNAME }} |
40 | 40 | password: ${{ secrets.DOCKERHUB_PASSWORD }} |
|
43 | 43 | - name: Define RC_TAG |
44 | 44 | run: echo "RC_TAG=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV |
45 | 45 | - name: Setup Node18.x |
46 | | - uses: actions/setup-node@v3 |
| 46 | + uses: actions/setup-node@v4 |
47 | 47 | with: |
48 | 48 | node-version: "18.16.x" |
49 | 49 | - name: Install pnpm 8 |
@@ -98,26 +98,29 @@ jobs: |
98 | 98 | echo "MINOR_TAG=${MAJOR}.${MINOR}" >> $GITHUB_ENV |
99 | 99 | echo "PATCH_TAG=${MAJOR}.${MINOR}.${PATCH}" >> $GITHUB_ENV |
100 | 100 | - name: Build, Tag, Push Major Tag |
101 | | - uses: docker/build-push-action@v5 |
| 101 | + uses: docker/build-push-action@v6 |
102 | 102 | with: |
| 103 | + platforms: linux/arm64 |
103 | 104 | push: true |
104 | 105 | tags: ${{ env.IMAGE_REPOSITORY }}:${{ env.MAJOR_TAG }} |
105 | 106 | build-args: | |
106 | 107 | REVISION_HASH=${{ env.GITHUB_SHA }} |
107 | 108 | cache-from: type=registry,ref=${{ env.IMAGE_CACHE_REPOSITORY }}:cache-major |
108 | 109 | cache-to: type=registry,ref=${{ env.IMAGE_CACHE_REPOSITORY }}:cache-major |
109 | 110 | - name: Build, Tag, Push Minor Tag |
110 | | - uses: docker/build-push-action@v5 |
| 111 | + uses: docker/build-push-action@v6 |
111 | 112 | with: |
| 113 | + platforms: linux/arm64 |
112 | 114 | push: true |
113 | 115 | tags: ${{ env.IMAGE_REPOSITORY }}:${{ env.MINOR_TAG }} |
114 | 116 | build-args: | |
115 | 117 | REVISION_HASH=${{ env.GITHUB_SHA }} |
116 | 118 | cache-from: type=registry,ref=${{ env.IMAGE_CACHE_REPOSITORY }}:cache-minor |
117 | 119 | cache-to: type=registry,ref=${{ env.IMAGE_CACHE_REPOSITORY }}:cache-minor |
118 | 120 | - name: Build, Tag, Push Patch Tag |
119 | | - uses: docker/build-push-action@v4 |
| 121 | + uses: docker/build-push-action@v6 |
120 | 122 | with: |
| 123 | + platforms: linux/arm64 |
121 | 124 | push: true |
122 | 125 | tags: ${{ env.IMAGE_REPOSITORY }}:${{ env.PATCH_TAG }} |
123 | 126 | build-args: | |
|
0 commit comments