File tree Expand file tree Collapse file tree 3 files changed +27
-0
lines changed Expand file tree Collapse file tree 3 files changed +27
-0
lines changed Original file line number Diff line number Diff line change 58
58
cookielab/container-image-tools:${{ github.ref_name }}
59
59
public.ecr.aws/cookielab/container-image-tools:${{ github.ref_name }}
60
60
ghcr.io/${{ github.repository_owner }}/container-image-tools:${{ github.ref_name }}
61
+
62
+ - name : Build and push - AWS
63
+ uses : docker/build-push-action@v4
64
+ with :
65
+ context : .
66
+ file : ./Dockerfile.aws
67
+ build-args : |
68
+ VERSION=${{ github.ref_name }}
69
+ platforms : linux/amd64,linux/arm64
70
+ push : true
71
+ tags : |
72
+ cookielab/container-image-tools:${{ github.ref_name }}-aws
73
+ public.ecr.aws/cookielab/container-image-tools:${{ github.ref_name }}-aws
74
+ ghcr.io/${{ github.repository_owner }}/container-image-tools:${{ github.ref_name }}-aws
Original file line number Diff line number Diff line change
1
+ ARG VERSION
2
+ FROM cookielab/container-image-tools:${VERSION}
3
+
4
+ COPY config.aws.json /container-image-tools/.docker/config.json
Original file line number Diff line number Diff line change
1
+ {
2
+ "credsStore" : " ecr-login" ,
3
+ "credHelpers" : {
4
+ "ghcr.io" : " env" ,
5
+ "public.ecr.aws" : " ecr-login" ,
6
+ "registry.gitlab.com" : " env" ,
7
+ "registry.cookielab.io" : " env"
8
+ }
9
+ }
You can’t perform that action at this time.
0 commit comments