forked from project-codeflare/codeflare-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from Bobbins228/test-workflow
test6
- Loading branch information
Showing
1 changed file
with
2 additions
and
35 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 |
---|---|---|
|
@@ -13,40 +13,7 @@ jobs: | |
- uses: actions/checkout@v3 | ||
- uses: tgymnich/[email protected] | ||
with: | ||
owner: llvm | ||
token: ${{ secrets.CODEFLARE_MACHINE_ACCOUNT_TOKEN }} | ||
owner: Bobbins228 | ||
base: main | ||
head: main | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.CODEFLARE_MACHINE_ACCOUNT_TOKEN }} | ||
|
||
build-and-push: | ||
name: Build and push ODH/CFO image | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set Go | ||
uses: actions/setup-go@v3 | ||
with: | ||
go-version: v1.19 | ||
|
||
- name: Test local | ||
run: | | ||
ls -al | ||
ls ~ | ||
- name: Login to Quay.io | ||
uses: redhat-actions/podman-login@v1 | ||
with: | ||
username: ${{ secrets.QUAY_USERNAME }} | ||
password: ${{ secrets.QUAY_PASSWORD }} | ||
registry: quay.io | ||
|
||
- name: Cleanup the go.mod and go.sum | ||
run: | | ||
go mod tidy | ||
- name: Image Build and Push | ||
run: | | ||
make build | ||
make image-build -e IMG=quay.io/mcampbel/codeflare-operator:v0.0.dev | ||
make image-push -e IMG=quay.io/mcampbel/codeflare-operator:v0.0.dev |