Skip to content

[WIP] Build func util img #8

[WIP] Build func util img

[WIP] Build func util img #8

Workflow file for this run

name: Build Images
on: [pull_request]
jobs:
build:
name: Build job
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/composite/go-setup
- name: Install uuid
run: |
sudo apt-get update
sudo apt-get install uuid
- name: Build binaries
run: make func_linux_amd64 func_linux_arm64 func_linux_ppc64le func_linux_s390x
- name: Build images
run: |
docker buildx create --name multiarch --driver docker-container --use
docker buildx build . \
--platform=linux/ppc64le,linux/s390x,linux/amd64,linux/arm64 \
--push \
-t "ttl.sh/knative-func/test-img-$(uuid):2h"