Skip Static test #922
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Image build | |
on: [pull_request] | |
jobs: | |
build-amd64: | |
name: Image build/amd64 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v4 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Build container image | |
uses: docker/build-push-action@v6 | |
with: | |
context: . | |
push: false | |
tags: ghcr.io/${{ github.repository }}:latest-amd64 | |
file: Dockerfile | |
build-openshift: | |
name: Image build/openshift | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v4 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Build container image | |
uses: docker/build-push-action@v6 | |
with: | |
context: . | |
push: false | |
tags: k8snetworkplumbingwg/whereabouts-ocp | |
file: Dockerfile.openshift | |
build-arm64: | |
name: Image build/arm64 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v4 | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v3 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Build container image | |
uses: docker/build-push-action@v6 | |
with: | |
context: . | |
push: false | |
tags: ghcr.io/${{ github.repository }}:latest-arm64 | |
file: Dockerfile.arm64 | |
platforms: linux/arm64 | |
build-multi-arch: | |
name: Image build multi-arch | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v4 | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v3 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Build container image | |
uses: docker/build-push-action@v6 | |
with: | |
context: . | |
push: false | |
tags: ghcr.io/${{ github.repository }}:latest | |
file: Dockerfile | |
platforms: linux/amd64, linux/arm64 |