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