Virtual whiteboard for sketching hand-drawn like diagrams
build: Add version tags to Docker build (#6508)
Nainterceptor1815cf3213b1
diff --git a/.github/workflows/publish-docker.yml b/.github/workflows/publish-docker.ymlindex a4a8a4c5ff..3602bb6606 100644--- a/.github/workflows/publish-docker.yml+++ b/.github/workflows/publish-docker.yml@@ -12,14 +12,24 @@ jobs:steps:- name: Checkout repositoryuses: actions/checkout@v3+ - name: Docker meta+ id: meta+ uses: docker/metadata-action@v4+ with:+ images: |+ excalidraw/excalidraw+ tags: |+ type=semver,pattern={{version}}+ type=semver,pattern={{major}}.{{minor}}- name: Login to DockerHubuses: docker/login-action@v2with:username: ${{ secrets.DOCKER_USERNAME }}password: ${{ secrets.DOCKER_PASSWORD }}- name: Build and push- uses: docker/build-push-action@v3+ uses: docker/build-push-action@v4with:context: .push: true- tags: excalidraw/excalidraw:latest+ tags: ${{ steps.meta.outputs.tags }}+ labels: ${{ steps.meta.outputs.labels }}