-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into haproxy-version
- Loading branch information
Showing
7 changed files
with
88 additions
and
15 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
name: Release ingress-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 | ||
|
||
jobs: | ||
build-and-publish-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: Verify Go Version | ||
run: go version | ||
|
||
- name: Login to the ${{ env.CONTAINER_REGISTRY }} Container Registry | ||
run: podman login quay.io -u ${QUAY_USER} -p ${QUAY_TOKEN} | ||
env: | ||
QUAY_USER: ${{ secrets.QUAY_USER }} | ||
QUAY_TOKEN: ${{ secrets.QUAY_TOKEN }} | ||
|
||
- name: Build and Push Multi archiecture Image | ||
id: push | ||
run: | | ||
make gha-build | ||
make gha-push | ||
env: | ||
GO_VER: ${{ env.GO_VER }} |
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
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
File renamed without changes.
File renamed without changes.
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
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