Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 17 additions & 1 deletion .github/workflows/_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,23 @@ jobs:
- name: 'Set up Docker Buildx'
uses: docker/setup-buildx-action@v3

- name: 'Build Postgres Image'
- name: 'Build Postgres Image for linux/amd64'
run: |
docker build \
-f Dockerfile.postgres \
--platform linux/amd64 \
-t ghcr.io/trycompa/postgres:${{ inputs.tag }}-linux-amd64 \
--push .

- name: 'Build Postgres Multi-Architecture Image'
run: |
docker buildx build \
-f Dockerfile.postgres \
--platform linux/arm64 \
-t ghcr.io/trycompa/postgres:${{ inputs.tag }}-linux-arm64 \
--push .

- name: 'Build Postgres Multi-Architecture Image'
run: |
docker buildx build \
-f Dockerfile.postgres \
Expand Down
Loading