File tree 3 files changed +4
-6
lines changed
3 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 1
1
name : Publish to Docker
2
2
3
3
on :
4
- schedule :
5
- - cron : ' 0 0 * * 5' # Every Friday at midnight we publish an image from latest to Docker Hub.
6
4
workflow_dispatch :
7
5
8
6
jobs :
@@ -17,12 +15,12 @@ jobs:
17
15
with :
18
16
username : ${{ secrets.DOCKER_USERNAME }}
19
17
password : ${{ secrets.DOCKER_PASSWORD }}
20
- - name : Get current date/time in the usual format
21
- id : date
22
- run : echo "::set-output name=date ::$(date +'%Y.%m.%d.%H%M%S' )"
18
+ - name : Get Orcaslicer version
19
+ id : version
20
+ run : echo "::set-output name=version ::$(./get_release_info.sh version )"
23
21
- name : Build and push Docker image
24
22
uses : docker/build-push-action@v2
25
23
with :
26
24
context : .
27
25
push : true
28
- tags : mikeah /orcaslicer-novnc:latest, mikeah /orcaslicer-novnc:${{ steps.date .outputs.date }}
26
+ tags : enkitech /orcaslicer-novnc:latest, enkitech /orcaslicer-novnc:${{ steps.version .outputs.version }}
You can’t perform that action at this time.
0 commit comments