|
93 | 93 | tags: |
|
94 | 94 | public.ecr.aws/${{ env.ECR_BASE_REPO }}:aarch64-ubuntu-latest
|
95 | 95 | platforms: linux/arm64
|
96 |
| - build-base-docker-image-ubuntu-armv7: |
97 |
| - runs-on: ubuntu-latest |
98 |
| - permissions: |
99 |
| - id-token: write |
100 |
| - contents: read |
101 |
| - steps: |
102 |
| - - name: Configure AWS Credentials |
103 |
| - uses: aws-actions/configure-aws-credentials@v1 |
104 |
| - with: |
105 |
| - aws-access-key-id: ${{ secrets.ECR_USER_AWS_KEY_ID }} |
106 |
| - aws-secret-access-key: ${{ secrets.ECR_USER_AWS_KEY_SECRET }} |
107 |
| - aws-region: us-east-1 |
108 |
| - - name: Login to ECR |
109 |
| - run: aws ecr-public get-login-password --region us-east-1 | docker login --username AWS --password-stdin public.ecr.aws |
110 |
| - - name: Checkout |
111 |
| - uses: actions/checkout@v2 |
112 |
| - with: |
113 |
| - fetch-depth: 0 |
114 |
| - - name: Set up QEMU |
115 |
| - uses: docker/setup-qemu-action@v2 |
116 |
| - - name: Docker meta |
117 |
| - id: meta |
118 |
| - uses: docker/metadata-action@v4 |
119 |
| - with: |
120 |
| - images: public.ecr.aws/${{ env.ECR_REPO }} |
121 |
| - - name: Set up Docker Buildx |
122 |
| - uses: docker/setup-buildx-action@v2 |
123 |
| - - name: Build ubuntu Base Image |
124 |
| - uses: docker/build-push-action@v3 |
125 |
| - with: |
126 |
| - file: .github/docker-images/base-images/device-client/ubuntu/Dockerfile |
127 |
| - context: . |
128 |
| - target: base |
129 |
| - push: true |
130 |
| - tags: | |
131 |
| - public.ecr.aws/${{ env.ECR_BASE_REPO }}:armv7-ubuntu-latest |
132 |
| - platforms: linux/arm/v7 |
133 | 96 | build-integration-test-base-docker-image-ubuntu-x86_64:
|
134 | 97 | runs-on: ubuntu-latest
|
135 | 98 | permissions:
|
@@ -202,42 +165,6 @@ jobs:
|
202 | 165 | tags: |
|
203 | 166 | public.ecr.aws/${{ env.ECR_INTEG_BASE_REPO }}:aarch64-ubuntu-latest
|
204 | 167 | platforms: linux/amd64
|
205 |
| - build-integration-test-base-docker-image-ubuntu-armv7: |
206 |
| - runs-on: ubuntu-latest |
207 |
| - permissions: |
208 |
| - id-token: write |
209 |
| - contents: read |
210 |
| - steps: |
211 |
| - - name: Configure AWS Credentials |
212 |
| - uses: aws-actions/configure-aws-credentials@v1 |
213 |
| - with: |
214 |
| - aws-access-key-id: ${{ secrets.ECR_USER_AWS_KEY_ID }} |
215 |
| - aws-secret-access-key: ${{ secrets.ECR_USER_AWS_KEY_SECRET }} |
216 |
| - aws-region: us-east-1 |
217 |
| - - name: Login to ECR |
218 |
| - run: aws ecr-public get-login-password --region us-east-1 | docker login --username AWS --password-stdin public.ecr.aws |
219 |
| - - name: Checkout |
220 |
| - uses: actions/checkout@v2 |
221 |
| - with: |
222 |
| - fetch-depth: 0 |
223 |
| - - name: Set up QEMU |
224 |
| - uses: docker/setup-qemu-action@v2 |
225 |
| - - name: Docker meta |
226 |
| - id: meta |
227 |
| - uses: docker/metadata-action@v4 |
228 |
| - with: |
229 |
| - images: public.ecr.aws/${{ env.ECR_INTEG_BASE_REPO }} |
230 |
| - - name: Set up Docker Buildx |
231 |
| - uses: docker/setup-buildx-action@v2 |
232 |
| - - name: Build Ubuntu Base Image |
233 |
| - uses: docker/build-push-action@v3 |
234 |
| - with: |
235 |
| - file: .github/docker-images/base-images/integration-tests/ubuntu/Dockerfile |
236 |
| - context: . |
237 |
| - push: true |
238 |
| - tags: | |
239 |
| - public.ecr.aws/${{ env.ECR_INTEG_BASE_REPO }}:armv7-ubuntu-latest |
240 |
| - platforms: linux/arm/v7 |
241 | 168 | build-base-docker-image-amazonlinux-x86_64:
|
242 | 169 | runs-on: ubuntu-latest
|
243 | 170 | permissions:
|
@@ -307,6 +234,8 @@ jobs:
|
307 | 234 | with:
|
308 | 235 | file: .github/docker-images/base-images/device-client/amazonlinux/Dockerfile
|
309 | 236 | context: .
|
| 237 | + build-args: | |
| 238 | + OS=linux/arm64 |
310 | 239 | target: base
|
311 | 240 | push: true
|
312 | 241 | tags: |
|
@@ -453,6 +382,8 @@ jobs:
|
453 | 382 | with:
|
454 | 383 | file: .github/docker-images/base-images/device-client/ubi8/Dockerfile
|
455 | 384 | context: .
|
| 385 | + build-args: | |
| 386 | + OS=linux/arm64 |
456 | 387 | target: base
|
457 | 388 | push: true
|
458 | 389 | tags: |
|
|
0 commit comments