Skip to content

Commit

Permalink
A job to push operator image from main (#144)
Browse files Browse the repository at this point in the history
#143

Signed-off-by: asararatnakar <[email protected]>
  • Loading branch information
asararatnakar authored Oct 27, 2023
1 parent ecdd625 commit a7bd80c
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/image-build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Build and Push Operator image

on:
push:
branches: [main]

jobs:
image:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Build
run: |
scripts/install-tools.sh
make image
- name: Push
run: |
echo ${{ secrets.GITHUB_TOKEN }} | docker login ghcr.io -u $GITHUB_ACTOR --password-stdin
make image-push image-push-latest

0 comments on commit a7bd80c

Please sign in to comment.