File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Release
2+
3+ on :
4+ pull_request :
5+ push :
6+ branches : [main]
7+ tags :
8+ - ' v*.*.*'
9+
10+ jobs :
11+ release-next-container :
12+ uses : radiorabe/actions/.github/workflows/release-container.yaml@v0.23.1
13+ with :
14+ image : ' ghcr.io/radiorabe/website-stack/next'
15+ name : ' website-next'
16+ display-name : ' RaBe Nextjs Website'
17+ tags : ' rabe web nextjs alpine'
18+ # the alpine base image used for the nextjs frontend does not have a
19+ # keyless cosign signature, so we disable verifying the image.
20+ cosign-verify : false
21+ context : ' ./next/'
22+ dockerfile : ' ./next/Dockerfile.prod'
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