Compare commits

...

3 Commits
v0.1.2 ... main

Author SHA1 Message Date
Jesse Brault
8240170ed8 Update Dockerfile to JDK 25.
All checks were successful
Jb-ssg-site CI Pipeline / ci (push) Successful in 2m18s
2025-11-08 17:24:44 -06:00
Jesse Brault
d53058c8f6 Change ci flow to run on all pushes to main.
Some checks failed
Jb-ssg-site CI Pipeline / ci (push) Failing after 1m8s
2025-11-08 17:14:31 -06:00
Jesse Brault
c0a1d29477 Remove branch check in ci flow. 2025-11-08 17:13:39 -06:00
2 changed files with 5 additions and 8 deletions

View File

@ -1,11 +1,10 @@
name: Jb-ssg-site CI Pipeline
on:
push:
tags:
- 'v*'
branches:
- main
jobs:
ci:
if: github.event.base_ref == 'refs/heads/main'
runs-on: ubuntu-latest
steps:
- name: Checkout the code.

View File

@ -1,14 +1,12 @@
FROM eclipse-temurin:21 AS build
FROM eclipse-temurin:25 AS build
LABEL authors="jessebrault"
WORKDIR /jb-ssg-site/
COPY . .
RUN --mount=type=secret,id=JBARCHIVA_USERNAME,env=JBARCHIVA_USERNAME \
--mount=type=secret,id=JBARCHIVA_PASSWORD,env=JBARCHIVA_PASSWORD \
./gradlew createSsgBinScript && \
RUN ./gradlew createSsgBinScript && \
bin/ssg build -g && \
./gradlew installServerDist
FROM eclipse-temurin:21
FROM eclipse-temurin:25
LABEL authors="jessebrault"
WORKDIR /jb-ssg-site
COPY --from=build /jb-ssg-site/dist/ dist/