File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -37,13 +37,15 @@ jobs:
3737 path : ./public
3838
3939 - name : Login to GitHub Container Registry
40+ if : (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main' || github.ref == 'refs/heads/dev' || github.ref == 'refs/heads/release') && github.event_name == 'push'
4041 uses : docker/login-action@v1
4142 with :
4243 registry : ghcr.io
4344 username : cmu-delphi-deploy-machine
4445 password : ${{ secrets.CMU_DELPHI_DEPLOY_MACHINE_PAT }}
4546
4647 - name : Build, tag, and push image to Github
48+ if : (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main' || github.ref == 'refs/heads/dev' || github.ref == 'refs/heads/release') && github.event_name == 'push'
4749 env :
4850 DEVOPS_DOCKER_FILE : ./devops/precompiled.dockerfile
4951 run : |
You can’t perform that action at this time.
0 commit comments