-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Paige Rubendall <[email protected]>
- Loading branch information
1 parent
cee4dc3
commit db46ddf
Showing
1 changed file
with
27 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,27 @@ | ||
name: Prow Scripts Docker Image CI | ||
on: | ||
workflow_dispatch: | ||
inputs: | ||
test_list: | ||
description: Only run tests that match the regular expression | ||
default: "" | ||
required: false | ||
|
||
push: | ||
branches: ['main'] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Login in quay | ||
run: docker login quay.io -u ${QUAY_USER} -p ${QUAY_TOKEN} | ||
env: | ||
QUAY_USER: ${{ secrets.QUAY_USERNAME }} | ||
QUAY_TOKEN: ${{ secrets.QUAY_PASSWORD }} | ||
- name: Check out code | ||
uses: actions/checkout@main | ||
- name: Build the Docker images | ||
run: docker build --no-cache -t quay.io/redhat-chaos/prow-scripts . | ||
- name: Push the Docker images | ||
run: docker push quay.io/redhat-chaos/prow-scripts:latest |