File tree Expand file tree Collapse file tree 2 files changed +18
-2
lines changed Expand file tree Collapse file tree 2 files changed +18
-2
lines changed Original file line number Diff line number Diff line change 53
53
- name : Clone repository
54
54
uses : actions/checkout@v2
55
55
56
+ - name : Get tag version
57
+ if : startsWith(github.ref, 'refs/tags/')
58
+ id : get_tag_version
59
+ run : echo ::set-output name=TAG::${GITHUB_REF/refs\/tags\//}
60
+
56
61
- name : Set up python
57
62
uses : actions/setup-python@v2
58
63
with :
68
73
if : startsWith(github.ref, 'refs/tags')
69
74
uses : pypa/gh-action-pypi-publish@master
70
75
with :
71
- password : ${{ secrets.PYPI_API_TOKEN }}
76
+ password : ${{ secrets.PYPI_API_TOKEN }}
77
+
78
+ - name : Docker - authenticate
79
+ if : startsWith(github.ref, 'refs/tags')
80
+ uses : docker/login-action@v1
81
+ with :
82
+ username : ${{ secrets.DOCKER_USERNAME }}
83
+ password : ${{ secrets.DOCKER_PASSWORD }}
84
+
85
+ - name : Docker - build and push images
86
+ if : startsWith(github.ref, 'refs/tags')
87
+ run : make build_image_and_push image_tag=${{ steps.get_tag_version.outputs.TAG }}
Original file line number Diff line number Diff line change 1
- __version__ = "2.2.3 "
1
+ __version__ = "2.3.0 "
You can’t perform that action at this time.
0 commit comments