Skip to content

Workflow file for this run

on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: |
podman build -t binfmt .
podman save --format oci-archive binfmt > binfmt.oci
./unbase_oci -i include -l binfmt.oci binfmt.oci binfmt_distroless.oci
image="$(podman load < binfmt_distroless.oci | awk '{ print $NF }')"
podman tag "$image" "ghcr.io/${{ github.repository }}"
podman login -u token -p "${{ github.token }}" ghcr.io
podman push "ghcr.io/${{ github.repository }}"