Compare commits
No commits in common. "main" and "v0.1.2" have entirely different histories.
@ -1,10 +1,11 @@
|
||||
name: Jb-ssg-site CI Pipeline
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
tags:
|
||||
- 'v*'
|
||||
jobs:
|
||||
ci:
|
||||
if: github.event.base_ref == 'refs/heads/main'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout the code.
|
||||
|
||||
@ -1,12 +1,14 @@
|
||||
FROM eclipse-temurin:25 AS build
|
||||
FROM eclipse-temurin:21 AS build
|
||||
LABEL authors="jessebrault"
|
||||
WORKDIR /jb-ssg-site/
|
||||
COPY . .
|
||||
RUN ./gradlew createSsgBinScript && \
|
||||
RUN --mount=type=secret,id=JBARCHIVA_USERNAME,env=JBARCHIVA_USERNAME \
|
||||
--mount=type=secret,id=JBARCHIVA_PASSWORD,env=JBARCHIVA_PASSWORD \
|
||||
./gradlew createSsgBinScript && \
|
||||
bin/ssg build -g && \
|
||||
./gradlew installServerDist
|
||||
|
||||
FROM eclipse-temurin:25
|
||||
FROM eclipse-temurin:21
|
||||
LABEL authors="jessebrault"
|
||||
WORKDIR /jb-ssg-site
|
||||
COPY --from=build /jb-ssg-site/dist/ dist/
|
||||
|
||||
Loading…
Reference in New Issue
Block a user