Only push the image from main in CI
This commit is contained in:
@@ -23,4 +23,5 @@ jobs:
|
||||
password: ${{ secrets.LOCAL_REGISTRY_PASSWORD }}
|
||||
|
||||
- name: Push image
|
||||
if: github.ref == 'refs/heads/main'
|
||||
run: ./build.sh push
|
||||
|
||||
Reference in New Issue
Block a user