Skip to content

Commit

Permalink
no --all-tags for nightly build
Browse files Browse the repository at this point in the history
add nightly docker build workflow

add nightly docker build workflow

remove kubebuilder

update to workflow
  • Loading branch information
wilsonwang371 committed Feb 9, 2022
1 parent 6a7d256 commit 681292f
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/test-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,21 @@ jobs:
uses: docker-practice/actions-setup-docker@master

- name: Build Docker Image
run: make docker-image
run: IMG=kuberay/operator:nightly make docker-image
working-directory: ${{env.working-directory}}

- name: Log in to Docker Hub
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
if: ${{ github.ref == 'refs/heads/master' }}

- name: Push to DockerHub
run: docker push kuberay/operator:nightly
working-directory: ${{env.working-directory}}
if: ${{ github.ref == 'refs/heads/master' }}

- name: Build CLI
run: go build -o kuberay -a main.go
working-directory: ${{env.cli-working-directory}}

0 comments on commit 681292f

Please sign in to comment.