Skip to content

Commit 65228c0

Browse files
update actions to publish to enki docker
1 parent 5668448 commit 65228c0

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

.github/workflows/docker.yml

+4-6
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
name: Publish to Docker
22

33
on:
4-
schedule:
5-
- cron: '0 0 * * 5' # Every Friday at midnight we publish an image from latest to Docker Hub.
64
workflow_dispatch:
75

86
jobs:
@@ -17,12 +15,12 @@ jobs:
1715
with:
1816
username: ${{ secrets.DOCKER_USERNAME }}
1917
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)"
2321
- name: Build and push Docker image
2422
uses: docker/build-push-action@v2
2523
with:
2624
context: .
2725
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 }}

build_and_push.sh

100644100755
File mode changed.

get_release_info.sh

100644100755
File mode changed.

0 commit comments

Comments
 (0)