-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: build and publish test harness images in release workflow (#341)
Signed-off-by: Jan Fajerski <[email protected]>
- Loading branch information
Showing
2 changed files
with
50 additions
and
0 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,40 @@ | ||
name: 'Publish OSD test harness image' | ||
description: 'Publishes the OSD test harness image' | ||
inputs: | ||
quay_login: | ||
description: "Quay login" | ||
required: true | ||
quay_token: | ||
description: "Quay token" | ||
required: true | ||
go-version: | ||
description: "go version" | ||
required: true | ||
runs: | ||
using: composite | ||
steps: | ||
- name: Setup Go environment | ||
uses: actions/setup-go@v3 | ||
with: | ||
go-version: ${{ inputs.go-version }} | ||
check-latest: true | ||
cache: true | ||
|
||
- name: Install tools | ||
uses: ./.github/tools-cache | ||
|
||
- name: Registry Login | ||
uses: docker/login-action@v2 | ||
with: | ||
registry: quay.io | ||
username: ${{ inputs.quay_login }} | ||
password: ${{ inputs.quay_token }} | ||
|
||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Build and publish test harness image | ||
shell: bash | ||
run: | | ||
make osd-e2e-test-push |
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