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:
37
37
path : ./public
38
38
39
39
- 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'
40
41
uses : docker/login-action@v1
41
42
with :
42
43
registry : ghcr.io
43
44
username : cmu-delphi-deploy-machine
44
45
password : ${{ secrets.CMU_DELPHI_DEPLOY_MACHINE_PAT }}
45
46
46
47
- 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'
47
49
env :
48
50
DEVOPS_DOCKER_FILE : ./devops/precompiled.dockerfile
49
51
run : |
You can’t perform that action at this time.
0 commit comments