Simplify Docker push workflow and use latest tag.

This commit is contained in:
Michael Helfrich 2022-02-11 18:28:32 -05:00
parent 0817d302dd
commit b59d795ce1

View File

@ -19,16 +19,9 @@ jobs:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
with:
images: mikeah/prusaslicer-novnc
- name: Build and push Docker image
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
uses: docker/build-push-action@v2
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
tags: mikeah/prusaslicer-novnc:latest