Skip to content

chore(deps): update all dependencies on main #159

chore(deps): update all dependencies on main

chore(deps): update all dependencies on main #159

name: image-build-test
on: [push, pull_request]
env:
BUILD_PLATFORMS: linux/amd64,linux/arm64,linux/ppc64le,linux/s390x
jobs:
build-image:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v4
# Add support for more platforms with QEMU (optional)
# https://github.com/docker/setup-qemu-action
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Prepare version file
run: ./hack/get_version.sh > .version
- name: Build and push container image
uses: docker/build-push-action@v6
with:
context: .
push: false
platforms: ${{ env.BUILD_PLATFORMS }}
file: ./cmd/Dockerfile