File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2,8 +2,7 @@ name: Time Tacker V1 CI - ON PUSH
2
2
3
3
on :
4
4
push :
5
- # update to master
6
- branches : [TT-412-onpush]
5
+ branches : [master]
7
6
8
7
jobs :
9
8
time-tracker-ci-v1-on-push :
@@ -56,12 +55,13 @@ jobs:
56
55
run : |
57
56
pytest tests
58
57
59
- - name : Build and push image
58
+ - name : Login to docker registry
60
59
uses : azure/docker-login@v1
61
60
with :
62
61
login-server : ${{ secrets.REGISTRY_LOGIN_SERVER }}
63
62
username : ${{ secrets.REGISTRY_USERNAME }}
64
63
password : ${{ secrets.REGISTRY_PASSWORD }}
64
+ - name : Build and push image
65
65
run : |
66
66
docker build . -t ${{ secrets.REGISTRY_LOGIN_SERVER }}/timetrackerapi:${{ github.sha }}
67
67
docker push ${{ secrets.REGISTRY_LOGIN_SERVER }}/timetrackerapi:${{ github.sha }}
You can’t perform that action at this time.
0 commit comments