Skip to content

Commit

Permalink
Merge pull request #399 from cofacts/submit-consent
Browse files Browse the repository at this point in the history
Make submit consent more clear
MrOrz authored Oct 22, 2024
2 parents 642995f + eb633c0 commit ff44a10
Showing 8 changed files with 734 additions and 282 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/build-and-push.yml
Original file line number Diff line number Diff line change
@@ -11,6 +11,11 @@ on:

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
inputs:
DOCKER_BUILD_CACHE_BUST:
description: 'Cache busting parameter for Docker build'
required: false
default: ''

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
@@ -74,8 +79,9 @@ jobs:
"LOCALE=${{ matrix.locales.locale }}"
# Cache for individual languages
# Ref: https://docs.docker.com/build/cache/backends/gha/#scope
cache-from: type=gha,scope=${{env.GITHUB_REF_NAME}}${{matrix.locales.postfix}}
cache-to: type=gha,mode=max,scope=${{env.GITHUB_REF_NAME}}${{matrix.locales.postfix}}
# Cache busting idea from: https://stackoverflow.com/a/64819132 to handle i18n update issue
cache-from: type=gha,scope=${{env.GITHUB_REF_NAME}}${{matrix.locales.postfix}}${{inputs.DOCKER_BUILD_CACHE_BUST}}
cache-to: type=gha,mode=max,scope=${{env.GITHUB_REF_NAME}}${{matrix.locales.postfix}}${{inputs.DOCKER_BUILD_CACHE_BUST}}

- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}
Loading

0 comments on commit ff44a10

Please sign in to comment.