Skip to content

Upgrade jammy

Upgrade jammy #10

name: 'Build docker containers'
on:
push:
branches:
- main
pull_request:
branches:
- main
pull_request_target:
branches:
- main
jobs:
pr-docker-contributor:
name: PR Docker contributor image
runs-on: ubuntu-latest
strategy:
matrix:
arch: [arm64v8]
steps:
- uses: actions/checkout@v2
- name: Build container for ${{ matrix.arch }}
run: |
/bin/true
cd docker-contributor
docker build --build-arg ARCH=${{ matrix.arch }}/ .
pr-docker-contributor-buildx:
name: PR Docker contributor image (Buildx)
runs-on: ubuntu-latest
strategy:
matrix:
arch: [arm64v8]
steps:
- uses: actions/checkout@v2
- name: Build container for ${{ matrix.arch }}
run: |
cd docker-contributor
docker buildx build --build-arg ARCH=${{ matrix.arch }}/ .
pr-docker-contributor-arm64-binfmt:
name: PR Docker contributor image (binfmt arm64v8)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build container for hardcoded arm64v8
run: |
docker run --privileged --rm tonistiigi/binfmt --install all
cd docker-contributor
docker build --build-arg ARCH=arm64v8/ .
pr-docker-contributor-arm64-platform:
name: PR Docker contributor image (platform arm64v8)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build container for hardcoded arm64v8
run: |
cd docker-contributor
docker build --platform linux/arm64 --build-arg ARCH=arm64v8/ .
pr-docker-contributor-arm64-buildx-platform-binfmt:
name: PR Docker contributor image (buildx arm64v8)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build container for hardcoded arm64v8
run: |
docker run --privileged --rm tonistiigi/binfmt --install all
cd docker-contributor
docker buildx build --platform linux/arm64 --build-arg ARCH=arm64v8/ .