File tree Expand file tree Collapse file tree 1 file changed +18
-13
lines changed Expand file tree Collapse file tree 1 file changed +18
-13
lines changed Original file line number Diff line number Diff line change 47
47
with :
48
48
fetch-depth : 0
49
49
50
- - name : Login to Docker Hub
51
- uses : docker/login-action@v1
52
- with :
53
- username : ${{ secrets.DOCKER_USERNAME }}
54
- password : ${{ secrets.DOCKER_AUTH_TOKEN }}
55
-
56
- # The expression strips off the shortest match from the front of the string to yield just the tag name as the output
57
- - name : Get tagged version
58
- run : echo "GITHUB_TAG=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
59
-
60
- - name : Build and Push image
61
- run : make docker-build docker-push
62
-
63
50
- name : Set up Python
64
51
uses : actions/setup-python@v2
65
52
with :
73
60
- name : Build package
74
61
run : python -m build
75
62
63
+ - name : Login to Docker Hub
64
+ uses : docker/login-action@v1
65
+ with :
66
+ username : ${{ secrets.DOCKER_USERNAME }}
67
+ password : ${{ secrets.DOCKER_AUTH_TOKEN }}
68
+
69
+ # The expression strips off the shortest match from the front of the string to yield just the tag name as the output
70
+ - name : Get tagged version
71
+ run : echo "GITHUB_TAG=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
72
+
73
+ - name : Create GitHub Release
74
+ uses : sendgrid/dx-automator/actions/release@main
75
+ env :
76
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
77
+
78
+ - name : Build and Push image
79
+ run : make docker-build docker-push
80
+
76
81
- name : Publish package to PyPI
77
82
uses : pypa/gh-action-pypi-publish@release/v1
78
83
with :
You can’t perform that action at this time.
0 commit comments