Skip to content

Commit

Permalink
Merge pull request #2 from Bobbins228/test-workflow
Browse files Browse the repository at this point in the history
test6
  • Loading branch information
Bobbins228 authored Oct 17, 2023
2 parents f6791bd + bdf8fea commit 5f1edb1
Showing 1 changed file with 2 additions and 35 deletions.
37 changes: 2 additions & 35 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 5f1edb1

Please sign in to comment.