Push to the remote registry only on the main branch #165
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -43,7 +43,7 @@ jobs:
|
||||
cache-from: type=registry,ref=${{ secrets.PRIVATE_REGISTRY_HOST }}/${{ env.GITHUB_REPOSITORY }}:builder
|
||||
cache-to: type=inline
|
||||
|
||||
- name: Build and push
|
||||
- name: Build and push (final)
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: .
|
||||
|
Loading…
x
Reference in New Issue
Block a user