Adjust the format of the workflow slightly per failure.
This commit is contained in:
parent
dae7ff6cc3
commit
fe17812883
7
.github/workflows/docker.yml
vendored
7
.github/workflows/docker.yml
vendored
@ -17,11 +17,12 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKER_USERNAME }}
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
- name: Get current date/time in the usual format to set the tags
|
- name: Get current date/time in the usual format
|
||||||
run: echo "DATE_TIME=$(date + '%Y.%m.%d.%H%M%S')" >> $GITHUB_ENV
|
id: date
|
||||||
|
run: echo "::set-output name=date::$(date + '%Y.%m.%d.%H%M%S')"
|
||||||
- name: Build and push Docker image
|
- name: Build and push Docker image
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v2
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
push: true
|
push: true
|
||||||
tags: mikeah/prusaslicer-novnc:latest, mikeah/prusaslicer-novnc:${{ env.DATE_TIME }}
|
tags: mikeah/prusaslicer-novnc:latest, mikeah/prusaslicer-novnc:${{ steps.date.outputs.date }}
|
||||||
|
Loading…
Reference in New Issue
Block a user