mirror of
https://github.com/zdharma-continuum/zinit.git
synced 2026-09-10 07:36:38 -04:00
Only build :latest when pushing to main branch
This commit is contained in:
parent
8b5ed2a597
commit
17c611ac0d
1
.github/workflows/containers.yaml
vendored
1
.github/workflows/containers.yaml
vendored
|
|
@ -86,6 +86,7 @@ jobs:
|
|||
- name: Build and push
|
||||
id: docker_build_latest
|
||||
uses: docker/build-push-action@v2
|
||||
if: github.ref == 'refs/heads/main'
|
||||
with:
|
||||
push: true
|
||||
file: ./docker/Dockerfile
|
||||
|
|
|
|||
Loading…
Reference in a new issue