DOCKER_TAG as single string
This commit is contained in:
parent
db63ddfe4b
commit
67f6c016eb
14
.github/workflows/osrm-backend-docker.yml
vendored
14
.github/workflows/osrm-backend-docker.yml
vendored
@ -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 }}
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user