File tree 3 files changed +28
-1
lines changed
3 files changed +28
-1
lines changed Original file line number Diff line number Diff line change 54
54
- name : Make Semantic Release
55
55
env :
56
56
GH_TOKEN : ${{ secrets.PAT }}
57
- run : npx semantic-release
57
+ run : npx semantic-release
58
+
59
+ push-latest :
60
+ runs-on : ubuntu-18.04
61
+ strategy :
62
+ matrix :
63
+ push : ['push-latest']
64
+ name : ${{ matrix.push }}
65
+ steps :
66
+ - name : Checkout Code
67
+ uses : actions/checkout@v2
68
+ - name : Login to DockerHub
69
+ uses : docker/login-action@v1
70
+ with :
71
+ username : ${{ secrets.DOCKERHUB_USERNAME }}
72
+ password : ${{ secrets.DOCKERHUB_TOKEN }}
73
+ - name : Build and push dope latest image
74
+ - run : make ${{ matrix.push }}
75
+ - name : Build and push d-action latest image
76
+ run : |
77
+ cd tools/d-action
78
+ make ${{ matrix.push }}
Original file line number Diff line number Diff line change 45
45
.PHONY : push
46
46
push : image
47
47
docker push $(IMG_REPO ) :$(PACKAGE_VERSION )
48
+
49
+ .PHONY : push-latest
50
+ push-latest : image
48
51
docker push $(IMG_REPO ) :latest
Original file line number Diff line number Diff line change 45
45
.PHONY : push
46
46
push : image
47
47
docker push $(IMG_REPO ) :$(PACKAGE_VERSION )
48
+
49
+ .PHONY : push-latest
50
+ push-latest : image
48
51
docker push $(IMG_REPO ) :latest
You can’t perform that action at this time.
0 commit comments