Skip to content

chore: update instructions to use amd64 image #2

chore: update instructions to use amd64 image

chore: update instructions to use amd64 image #2

Workflow file for this run

name: Build pg_idkit container
on:
- push
jobs:
build:
runs-on: ${{ matrix.config.gh.runner }}
matrix:

Check failure on line 9 in .github/workflows/container.yaml

View workflow run for this annotation

GitHub Actions / Build pg_idkit container

Invalid workflow file

The workflow is not valid. .github/workflows/container.yaml (Line: 9, Col: 5): Unexpected value 'matrix'
config:
- triple: x86_64-unknown-linux-musl
gh:
runner: ubuntu-22.04
container:
arch: amd64
pg_version: 15.5
os_version: alpine3.18
steps:
- uses: actions/checkout@v3
- uses: docker/setup-qemu-action@v3
- uses: extractions/setup-just@v1
# - name: Switch docker buildx
# run: docker buildx create --name buildx --use
- name: registry login
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: build & push container image
run: just build-image push-image
env:
CONTAINER_IMAGE_ARCH: ${{ matrix.config.container.arch }}
POSTGRES_IMAGE_VERSION: ${{ matrix.config.container.pg_version }}
POSTGRES_OS_IMAGE_VERSION: ${{ matrix.config.container.os_version }}