Skip to content

Add more error checking (#113) #5

Add more error checking (#113)

Add more error checking (#113) #5

Workflow file for this run

name: Release k8s-netperf container image
on:
push:
paths:
- "containers/**" # Trigger only when Dockerfile changes in a pull request
env:
CONTAINER_REGISTRY: ${{ 'quay.io' }}
GO_VER: 1.19
RHEL_VERSION: ubi9
jobs:
build-and-push-container-images:
name: Build and Publish Multi Architecture Container Images
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Setup QEMU & Install Dependecies
run: |
sudo apt-get update -y
sudo apt-get install qemu-user-static fuse-overlayfs -y
sudo apt-get install podman -y
if: runner.os == 'Linux'
- name: Clone Repository
uses: actions/checkout@v3
- name: Setup Golang
uses: actions/setup-go@v3
with:
go-version: ${{ env.GO_VER }}
- name: Login to the ${{ env.CONTAINER_REGISTRY }} Container Registry
run: podman login quay.io -u ${QUAY_USER} -p ${QUAY_TOKEN}
with:

Check failure on line 40 in .github/workflows/build-container.yml

View workflow run for this annotation

GitHub Actions / Release k8s-netperf container image

Invalid workflow file

The workflow is not valid. .github/workflows/build-container.yml (Line: 40, Col: 9): Unexpected value 'with'
QUAY_USER: ${{ secrets.QUAY_USER }}
QUAY_TOKEN: ${{ secrets.QUAY_TOKEN }}
- name: Build and Push multi-arch Image
id: push
run: |
make gha-build
make gha-push
env:
GO_VER: ${{ env.GO_VER }}