File tree Expand file tree Collapse file tree 4 files changed +48
-0
lines changed
Expand file tree Collapse file tree 4 files changed +48
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Release
2+
3+ on :
4+ pull_request :
5+ push :
6+ branches :
7+ - main
8+ tags :
9+ - ' v*.*.*'
10+
11+ jobs :
12+ release-next-container :
13+ uses :
radiorabe/actions/.github/workflows/[email protected] 14+ with :
15+ image : ' ghcr.io/radiorabe/website-stack/next'
16+ name : ' next'
17+ display-name : ' RaBe Nextjs Website'
18+ tags : ' rabe web nextjs alpine'
19+ # the alpine base image used for the nextjs frontend does not have a
20+ # keyless cosign signature, so we disable verifying the image.
21+ cosign-verify : false
22+ context : ' ./next/'
23+ dockerfile : ' ./next/Dockerfile.prod'
24+ build-args : |
25+ IMAGES_HOSTNAME=data.rabe.ch
Original file line number Diff line number Diff line change 1+ name : Scheduled tasks
2+
3+ on :
4+ schedule :
5+ - cron : ' 13 12 * * *'
6+ workflow_dispatch :
7+
8+ jobs :
9+ schedule-trivy :
10+ uses :
radiorabe/actions/.github/workflows/[email protected] 11+ with :
12+ image-ref : ' ghcr.io/radiorabe/website-stack/next:latest'
Original file line number Diff line number Diff line change @@ -17,3 +17,8 @@ Directus:
1717Next:
1818
1919 docker-compose up -d next
20+
21+ ## Build Process
22+
23+ The CI/CD setup uses [ Docker build-push Action] ( https://github.com/docker/build-push-action ) to publish container images.
24+ The workflow is based on the [ RaBe shared actions] ( https://radiorabe.github.io/actions/ ) .
Original file line number Diff line number Diff line change 2020
2121# Rebuild the source code only when needed
2222FROM base AS builder
23+
24+ # defaults for use during the container build phase on CI/CD
25+ ARG IMAGES_PROTOCOL=https
26+ ARG IMAGES_HOSTNAME=**
27+ ARG IMAGES_PORT=433
28+
2329WORKDIR /app
2430COPY --from=deps /app/node_modules ./node_modules
2531COPY . .
You can’t perform that action at this time.
0 commit comments