@@ -33,11 +33,13 @@ jobs:
3333 runs-on : ubuntu-latest
3434 strategy :
3535 matrix :
36- image : ["pulumi", "pulumi-provider-build-environment"]
3736 include :
38- # For the pulumi image add a the nonroot variant
39- - suffix : -nonroot
40- image : pulumi
37+ - image : pulumi-provider-build-environment
38+ suffix : " "
39+ - image : pulumi
40+ suffix : " "
41+ - image : pulumi
42+ suffix : " -nonroot"
4143 steps :
4244 - name : Fetch secrets from ESC
4345 id : esc-secrets
@@ -68,13 +70,20 @@ jobs:
6870 docker pull docker.io/${{ env.DOCKER_USERNAME }}/${{ matrix.image }}:${{ env.PULUMI_VERSION }}${{ matrix.suffix }}-amd64
6971 docker tag docker.io/${{ env.DOCKER_USERNAME }}/${{ matrix.image }}:${{ env.PULUMI_VERSION }}${{ matrix.suffix }}-amd64 public.ecr.aws/${{ env.DOCKER_USERNAME }}/${{ matrix.image }}:${{ env.PULUMI_VERSION }}${{ matrix.suffix }}-amd64
7072 docker push public.ecr.aws/${{ env.DOCKER_USERNAME }}/${{ matrix.image }}:${{ env.PULUMI_VERSION }}${{ matrix.suffix }}-amd64
73+ - name : Push ${{ env.PULUMI_VERSION }} manifest
74+ run : |
75+ docker manifest create \
76+ public.ecr.aws/${{ env.DOCKER_USERNAME }}/${{ matrix.image }}:${{ env.PULUMI_VERSION }}${{ matrix.suffix }} \
77+ public.ecr.aws/${{ env.DOCKER_USERNAME }}/${{ matrix.image }}:${{ env.PULUMI_VERSION }}${{ matrix.suffix }}-amd64 \
78+ public.ecr.aws/${{ env.DOCKER_USERNAME }}/${{ matrix.image }}:${{ env.PULUMI_VERSION }}${{ matrix.suffix }}-arm64
79+ docker manifest push public.ecr.aws/${{ env.DOCKER_USERNAME }}/${{ matrix.image }}:${{ env.PULUMI_VERSION }}${{ matrix.suffix }}
7180 - name : Push latest manifest
7281 if : ${{ github.event.inputs.tag_latest || github.event_name == 'repository_dispatch' }}
7382 run : |
7483 docker manifest create \
7584 public.ecr.aws/${{ env.DOCKER_USERNAME }}/${{ matrix.image }}:latest${{ matrix.suffix }} \
7685 public.ecr.aws/${{ env.DOCKER_USERNAME }}/${{ matrix.image }}:${{ env.PULUMI_VERSION }}${{ matrix.suffix }}-amd64 \
77- public.ecr.aws/${{ env.DOCKER_USERNAME }}/${{ matrix.image }}:${{ env.PULUMI_VERSION }}${{ matrix.suffix }}-amd64
86+ public.ecr.aws/${{ env.DOCKER_USERNAME }}/${{ matrix.image }}:${{ env.PULUMI_VERSION }}${{ matrix.suffix }}-arm64
7887 docker manifest push public.ecr.aws/${{ env.DOCKER_USERNAME }}/${{ matrix.image }}:latest${{ matrix.suffix }}
7988
8089 define-debian-matrix :
0 commit comments