We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4bdb6ed commit 83594d8Copy full SHA for 83594d8
.github/workflows/build-frontend.yml
@@ -26,8 +26,8 @@ jobs:
26
id: meta
27
uses: docker/metadata-action@v5
28
with:
29
- # list of Docker images to use as base name for tags
30
- images: ${{ vars.DOCKER_REGISTRY_URL }}/smo-frontend
+ # Dynamic image name: if DOCKER_REGISTRY_URL is set use <registry>/smo-frontend, otherwise just 'smo-frontend'
+ images: ${{ vars.DOCKER_REGISTRY_URL && format('{0}/smo-frontend', vars.DOCKER_REGISTRY_URL) || 'smo-frontend' }}
31
# generate Docker tags based on the following events/attributes
32
tags: |
33
type=ref,event=branch
0 commit comments