File tree Expand file tree Collapse file tree 4 files changed +9
-3
lines changed
Expand file tree Collapse file tree 4 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 3939 REPO=${{ env.REPO }} VERSION=${{ env.TAG_NAME }} make plugin
4040 docker plugin push "${{ env.REPO }}:${{ env.TAG_NAME }}-linux-amd64"
4141 docker plugin push "${{ env.REPO }}:${{ env.TAG_NAME }}-linux-arm64"
42+ docker plugin push "${{ env.REPO }}:${{ env.TAG_NAME }}-darwin-amd64"
43+ docker plugin push "${{ env.REPO }}:${{ env.TAG_NAME }}-darwin-arm64"
44+ docker plugin push "${{ env.REPO }}:${{ env.TAG_NAME }}-windows-amd64"
4245 docker plugin push "${{ env.REPO }}:${{ env.TAG_NAME }}"
4346
4447 # docker does not currently support multi-arch plugins so we cannot create a list manifest
Original file line number Diff line number Diff line change 4242 REPO=${{ env.REPO }} VERSION=${{ env.TAG_NAME }} make plugin
4343 docker plugin push "${{ env.REPO }}:${{ env.TAG_NAME }}-linux-amd64"
4444 docker plugin push "${{ env.REPO }}:${{ env.TAG_NAME }}-linux-arm64"
45+ docker plugin push "${{ env.REPO }}:${{ env.TAG_NAME }}-darwin-amd64"
46+ docker plugin push "${{ env.REPO }}:${{ env.TAG_NAME }}-darwin-arm64"
47+ docker plugin push "${{ env.REPO }}:${{ env.TAG_NAME }}-windows-amd64"
4548 docker plugin push "${{ env.REPO }}:${{ env.TAG_NAME }}"
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ OPA_VERSION=$(go list -m -f '{{.Version}}' github.com/open-policy-agent/opa)
88echo " Building opa-docker-authz version: $VERSION (OPA version: $OPA_VERSION )"
99
1010
11- platforms=(" linux/amd64" " linux/arm64" )
11+ platforms=(" linux/amd64" " linux/arm64" " darwin/amd64 " " darwin/arm64 " " windows/amd64 " )
1212for platform in " ${platforms[@]} "
1313do
1414 platform_split=(${platform// \/ / } )
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ docker image rm -f rootfsimage > /dev/null
1919rm -rf ./rootfs
2020
2121
22- platforms=(" linux/amd64" " linux/arm64" )
22+ platforms=(" linux/amd64" " linux/arm64" " darwin/amd64 " " darwin/arm64 " " windows/amd64 " )
2323for platform in " ${platforms[@]} "
2424do
2525 platform_split=(${platform// \/ / } )
4242 docker container rm -f " $id " > /dev/null
4343 docker image rm -f rootfsimage-${GOOS} -${GOARCH} > /dev/null
4444 rm -rf ./rootfs
45- done
45+ done
You can’t perform that action at this time.
0 commit comments