From 67f6c016ebed8b3d0a09db4851cec65212e7ddb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torben=20H=C3=B8rup?= Date: Wed, 29 Sep 2021 12:22:34 +0200 Subject: [PATCH] DOCKER_TAG as single string --- .github/workflows/osrm-backend-docker.yml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/osrm-backend-docker.yml b/.github/workflows/osrm-backend-docker.yml index ecec6d2b3..9dc455a61 100644 --- a/.github/workflows/osrm-backend-docker.yml +++ b/.github/workflows/osrm-backend-docker.yml @@ -3,8 +3,6 @@ on: push: tags: - 'v*' - branches: - - master jobs: publish: @@ -18,13 +16,13 @@ jobs: id: meta uses: docker/metadata-action@v3 with: - images: ghcr.io/${{ github.repository }}/osrm-backend + images: ghcr.io/${{ github.repository }} - name: Docker meta - debug id: metadebug uses: docker/metadata-action@v3 with: - images: ghcr.io/${{ github.repository }}/osrm-backend + images: ghcr.io/${{ github.repository }} flavor: | latest=true suffix=-debug,onlatest=true @@ -33,7 +31,7 @@ jobs: id: metaassertions uses: docker/metadata-action@v3 with: - images: ghcr.io/${{ github.repository }}/osrm-backend + images: ghcr.io/${{ github.repository }} flavor: | latest=true suffix=-assertions,onlatest=true @@ -58,7 +56,7 @@ jobs: file: ./docker/Dockerfile tags: ${{ steps.meta.outputs.labels }} build-args: - - DOCKER_TAG: ${{ steps.meta.outputs.labels }} + - DOCKER_TAG: ${{ join(steps.metaassertions.outputs.labels }} - name: Build container image - debug @@ -68,7 +66,7 @@ jobs: file: ./docker/Dockerfile tags: ${{ steps.metadebug.outputs.labels }} build-args: - - DOCKER_TAG: ${{ steps.metadebug.outputs.labels }} + - DOCKER_TAG: ${{ join(steps.metaassertions.outputs.labels }} - name: Build container image - assertions @@ -78,7 +76,7 @@ jobs: file: ./docker/Dockerfile tags: ${{ steps.metaassertions.outputs.labels }} build-args: - - DOCKER_TAG: ${{ steps.metaassertions.outputs.labels }} + - DOCKER_TAG: ${{ join(steps.metaassertions.outputs.labels }} \ No newline at end of file