|
|
|
@ -52,6 +52,8 @@ jobs: |
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- name: Checkout repository |
|
|
|
- name: Checkout repository |
|
|
|
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 |
|
|
|
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 |
|
|
|
|
|
|
|
with: |
|
|
|
|
|
|
|
fetch-tags: true |
|
|
|
|
|
|
|
|
|
|
|
- name: Set up QEMU |
|
|
|
- name: Set up QEMU |
|
|
|
uses: docker/setup-qemu-action@c7c53464625b32c7a7e944ae62b3e17d2b600130 # v3.7.0 |
|
|
|
uses: docker/setup-qemu-action@c7c53464625b32c7a7e944ae62b3e17d2b600130 # v3.7.0 |
|
|
|
@ -90,6 +92,12 @@ jobs: |
|
|
|
labels: | |
|
|
|
labels: | |
|
|
|
org.opencontainers.image.documentation=https://dexidp.io/docs/ |
|
|
|
org.opencontainers.image.documentation=https://dexidp.io/docs/ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Multiple exporters are not supported yet |
|
|
|
|
|
|
|
# See https://github.com/moby/buildkit/pull/2760 |
|
|
|
|
|
|
|
- name: Get version from git-version script |
|
|
|
|
|
|
|
id: version |
|
|
|
|
|
|
|
run: echo "value=$(bash ./scripts/git-version)" >> "$GITHUB_OUTPUT" |
|
|
|
|
|
|
|
|
|
|
|
# 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 |
|
|
|
- name: Determine build output |
|
|
|
- name: Determine build output |
|
|
|
@ -124,10 +132,11 @@ jobs: |
|
|
|
tags: ${{ steps.meta.outputs.tags }} |
|
|
|
tags: ${{ steps.meta.outputs.tags }} |
|
|
|
build-args: | |
|
|
|
build-args: | |
|
|
|
BASE_IMAGE=${{ matrix.variant }} |
|
|
|
BASE_IMAGE=${{ matrix.variant }} |
|
|
|
VERSION=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.version'] }} |
|
|
|
VERSION=${{ steps.version.outputs.value }} |
|
|
|
COMMIT_HASH=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.revision'] }} |
|
|
|
COMMIT_HASH=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.revision'] }} |
|
|
|
BUILD_DATE=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.created'] }} |
|
|
|
BUILD_DATE=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.created'] }} |
|
|
|
labels: ${{ steps.meta.outputs.labels }} |
|
|
|
labels: | |
|
|
|
|
|
|
|
${{ steps.meta.outputs.labels }} |
|
|
|
# cache-from: type=gha |
|
|
|
# cache-from: type=gha |
|
|
|
# cache-to: type=gha,mode=max |
|
|
|
# cache-to: type=gha,mode=max |
|
|
|
outputs: ${{ steps.build-output.outputs.value }} |
|
|
|
outputs: ${{ steps.build-output.outputs.value }} |
|
|
|
|