Skip to content
Snippets Groups Projects
Commit 7df8e15d authored by Lars Seipel's avatar Lars Seipel
Browse files

build: push container image with tags based on commit SHA

parent 102452b5
No related branches found
No related tags found
No related merge requests found
...@@ -86,8 +86,12 @@ jobs: ...@@ -86,8 +86,12 @@ jobs:
type=ref,event=pr,prefix=pr-,suffix=-${{ matrix.variant }} type=ref,event=pr,prefix=pr-,suffix=-${{ matrix.variant }}
type=semver,pattern={{raw}},suffix=-${{ matrix.variant }} type=semver,pattern={{raw}},suffix=-${{ matrix.variant }}
type=raw,value=latest,enable={{is_default_branch}},suffix=-${{ matrix.variant }} type=raw,value=latest,enable={{is_default_branch}},suffix=-${{ matrix.variant }}
type=sha,enable=${{ matrix.variant == 'alpine' }}
type=sha,suffix=-${{ matrix.variant }}
labels: | labels: |
org.opencontainers.image.documentation=https://dexidp.io/docs/ org.opencontainers.image.documentation=https://dexidp.io/docs/
env:
DOCKER_METADATA_SHORT_SHA_LENGTH: 12
# Multiple exporters are not supported yet # Multiple exporters are not supported yet
# See https://github.com/moby/buildkit/pull/2760 # See https://github.com/moby/buildkit/pull/2760
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment