File tree Expand file tree Collapse file tree 1 file changed +19
-3
lines changed
Expand file tree Collapse file tree 1 file changed +19
-3
lines changed Original file line number Diff line number Diff line change 55 pull_request :
66 branches : [ "main" ]
77 release :
8- types : [ published ]
8+ types : [ " published" ]
99jobs :
1010 test :
1111 if : github.event_name == 'pull_request'
1717 uses : docker/build-push-action@v3.2.0
1818 with :
1919 push : false
20- tags : dprohe/sdynpy:latest
20+ tags : dprohe/sdynpy:test
2121 latest :
2222 if : github.event_name == 'push'
2323 runs-on : ubuntu-latest
@@ -29,11 +29,19 @@ jobs:
2929 with :
3030 username : dprohe
3131 password : ${{ secrets.DOCKERHUB_TOKEN }}
32+ - name : login
33+ uses : docker/login-action@v2
34+ with :
35+ registry : ghcr.io
36+ username : ${{ github.actor }}
37+ password : ${{ secrets.GITHUB_TOKEN }}
3238 - name : build-push
3339 uses : docker/build-push-action@v3.2.0
3440 with :
3541 push : true
36- tags : dprohe/sdynpy:latest
42+ tags : |
43+ dprohe/sdynpy:latest
44+ ghcr.io/sandialabs/sdynpy:latest
3745 versioned :
3846 if : github.event_name == 'release'
3947 runs-on : ubuntu-latest
@@ -50,10 +58,18 @@ jobs:
5058 with :
5159 username : dprohe
5260 password : ${{ secrets.DOCKERHUB_TOKEN }}
61+ - name : login
62+ uses : docker/login-action@v2
63+ with :
64+ registry : ghcr.io
65+ username : ${{ github.actor }}
66+ password : ${{ secrets.GITHUB_TOKEN }}
5367 - name : build-push
5468 uses : docker/build-push-action@v3.2.0
5569 with :
5670 push : true
5771 tags : |
5872 dprohe/sdynpy:${{steps.tag.outputs.tag}}
5973 dprohe/sdynpy:latest
74+ ghcr.io/sandialabs/sdynpy:${{steps.tag.outputs.tag}}
75+ ghcr.io/sandialabs/sdynpy:latest
You can’t perform that action at this time.
0 commit comments