Skip to content
Snippets Groups Projects
Commit c45ed0fe authored by ThanKarab's avatar ThanKarab
Browse files

Fix for multiple docker image names on push action.

parent cdc27840
No related branches found
No related tags found
No related merge requests found
Pipeline #21958 canceled with stages
...@@ -32,8 +32,10 @@ jobs: ...@@ -32,8 +32,10 @@ jobs:
id: meta id: meta
uses: docker/metadata-action@v4 uses: docker/metadata-action@v4
with: with:
images: portal-backend images: |
hbpmip/portal-backend
docker-registry.ebrains.eu/medical-informatics-platform
- name: Load cached image - name: Load cached image
uses: actions/cache@v3 uses: actions/cache@v3
with: with:
...@@ -47,9 +49,7 @@ jobs: ...@@ -47,9 +49,7 @@ jobs:
context: . context: .
file: ./Dockerfile file: ./Dockerfile
push: true push: true
tags: | tags: ${{ steps.meta.outputs.tags }}
hbpmip/${{ steps.meta.outputs.tags }}
docker-registry.ebrains.eu/medical-informatics-platform/${{ steps.meta.outputs.tags }}
cache-from: type=local,src=/tmp/.buildx-cache/portal-backend cache-from: type=local,src=/tmp/.buildx-cache/portal-backend
cache-to: type=local,dest=/tmp/.buildx-cache-new/portal-backend cache-to: type=local,dest=/tmp/.buildx-cache-new/portal-backend
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment