File tree Expand file tree Collapse file tree 2 files changed +33
-0
lines changed
Expand file tree Collapse file tree 2 files changed +33
-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 : [main]
7+ tags :
8+ - ' v*.*.*'
9+
10+ env :
11+ IMAGES_PROTOCOL : ' https'
12+ IMAGES_HOSTNAME : ' *'
13+ IMAGES_PORT : ' 443'
14+
15+ jobs :
16+ release-next-container :
17+ uses : radiorabe/actions/.github/workflows/release-container.yaml@v0.23.1
18+ with :
19+ image : ' ghcr.io/radiorabe/website-next'
20+ name : ' website-next'
21+ display-name : ' RaBe Nextjs Website'
22+ tags : ' rabe nextjs alpine'
23+ # the alpine base image used for the nextjs frontend does not have a
24+ # keyless cosign signature, so we disable verifying the image.
25+ cosign-verify : false
26+ context : ' ./next/'
27+ 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