Gate customer-product releases with application acceptance and hosted reuse checks
Assistant: codex Assistant-Model: gpt-6-astra Assistant-Session: 01a07ff8-19d0-7820-b4d0-1353833cb7fc
This commit is contained in:
parent
d9d48c7d1d
commit
0f4f11a9a2
14 changed files with 353 additions and 9 deletions
|
|
@ -16,6 +16,7 @@ on:
|
|||
- "vergabe_teilnahme/**"
|
||||
- "static/**"
|
||||
- "templates/**"
|
||||
- "conftest.py"
|
||||
workflow_dispatch:
|
||||
|
||||
env:
|
||||
|
|
@ -42,6 +43,8 @@ jobs:
|
|||
| tar xz --strip-components=1 -C "${HOME}/bin" docker/docker
|
||||
export PATH="${HOME}/bin:${PATH}"
|
||||
docker version
|
||||
# Test the exact source before registry login or image publication.
|
||||
docker build --target application-tests buildctx
|
||||
echo "${REGISTRY_TOKEN}" | docker login "${REGISTRY}" -u "${REGISTRY_USER}" --password-stdin
|
||||
SHORT="${REF:0:7}"
|
||||
IMAGE="${REGISTRY}/${IMAGE_NAME}"
|
||||
|
|
@ -49,4 +52,4 @@ jobs:
|
|||
docker push "${IMAGE}:latest"
|
||||
docker push "${IMAGE}:${SHORT}"
|
||||
docker push "${IMAGE}:main-${SHORT}"
|
||||
echo "pushed ${IMAGE}:latest ${IMAGE}:${SHORT}"
|
||||
echo "pushed ${IMAGE}:latest ${IMAGE}:${SHORT}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue