From 70c04f33f1c45502b46aa541bb91c7cdded5b545 Mon Sep 17 00:00:00 2001 From: Curtis Hall Date: Mon, 20 Nov 2023 19:53:35 -0600 Subject: [PATCH] Update docker-publish.yml Setup images based tagging --- .github/workflows/docker-publish.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index f5fe4d3a..5d8b8e35 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -70,6 +70,13 @@ jobs: # uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7 # with: # images: bluecherrydvr/bluecherry + + - name: Extract metadata (tags, labels) for Docker + id: meta + uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7 + with: + images: bluecherrydvr/bluecherry + - name: Build and push Docker image uses: docker/build-push-action@v4 with: @@ -79,5 +86,5 @@ jobs: # password: ${{ secrets.DOCKER_PASSWORD }} # file: ./server/Dockerfile push: true - tags: bluecherrydvr/bluecherry:unstable - labels: github_ci + tags: ${{ steps.meta.outputs.tags }} + labels: ${{ steps.meta.outputs.labels }}