File tree Expand file tree Collapse file tree 3 files changed +4
-11
lines changed Expand file tree Collapse file tree 3 files changed +4
-11
lines changed Original file line number Diff line number Diff line change 22
22
POSTGRES_VERSION=$(cat docker.vars.json | jq -r '.["postgres-version"]')
23
23
echo "::set-output name=postgres_version::$POSTGRES_VERSION"
24
24
25
- PLATFORM=$(cat docker.vars.json | jq -r '.["platform"]')
26
- echo "::set-output name=platform::$PLATFORM"
27
-
28
25
- uses : docker/setup-qemu-action@v1
29
26
with :
30
27
platforms : amd64,arm64
43
40
tags : supabase/postgres:latest,supabase/postgres:${{ steps.settings.outputs.docker_version }}
44
41
platforms : linux/amd64,linux/arm64
45
42
build-args : |
46
- "PLATFORM=${{steps.settings.outputs.platform}}"
47
43
"VERSION=${{steps.settings.outputs.postgres_version}}"
Original file line number Diff line number Diff line change 1
- ARG PLATFORM
2
1
ARG VERSION
3
2
4
- FROM --platform=$PLATFORM postgres:$VERSION
3
+ FROM postgres:$VERSION
5
4
6
5
COPY ansible/ /tmp/ansible/
7
6
Original file line number Diff line number Diff line change 1
1
{
2
- "docker-version" : " 14.1.0.15" ,
3
- "postgres-version" : " 14.1" ,
4
- "platform" : " linux/amd64"
5
- }
6
-
2
+ "docker-version" : " 14.1.0.15" ,
3
+ "postgres-version" : " 14.1"
4
+ }
You can’t perform that action at this time.
0 commit comments