Archived
Compare commits
121
Commits
main
..
c3a68fa4de
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c3a68fa4de | ||
|
|
37cae20e6d | ||
|
|
abccce9d13 | ||
|
|
166222cd67 | ||
|
|
f7f059638f | ||
|
|
1f9271b611 | ||
|
|
5db38831f5 | ||
|
|
acab25614b | ||
|
|
57c2497ae7 | ||
|
|
08392902b0 | ||
|
|
8bf9b134fb | ||
|
|
49aeb6ede4 | ||
|
|
5e673beed7 | ||
|
|
ed830b07aa | ||
|
|
c438746197 | ||
|
|
cae257c280 | ||
|
|
9b81bd750f | ||
|
|
48b37d7d6c | ||
|
|
ec739c3b31 | ||
|
|
1a7f0f1980 | ||
|
|
2b772d2931 | ||
|
|
2a0dd1ae6b | ||
|
|
eaad7b916e | ||
|
|
cbe8a764b0 | ||
|
|
ba054ab2eb | ||
|
|
b54ad064ff | ||
|
|
ecbc399ec4 | ||
|
|
a5f7a6b3be | ||
|
|
41c9b38bc5 | ||
|
|
fa1f4d24a2 | ||
|
|
37d21745de | ||
|
|
b095e798a4 | ||
|
|
9cfd2ad1cd | ||
|
|
1f89c69686 | ||
|
|
58f794a5e0 | ||
|
|
7017691af3 | ||
|
|
8c7f2c2386 | ||
|
|
e892ff1dab | ||
|
|
553736986c | ||
|
|
af84b6ca8a | ||
|
|
dc101c4eaf | ||
|
|
5e8d7355d4 | ||
|
|
2725a26899 | ||
|
|
6cd941295c | ||
|
|
c2b0d905e1 | ||
|
|
713dbc1430 | ||
|
|
56e2e1c528 | ||
|
|
95cd4251f4 | ||
|
|
6f2e6d8d59 | ||
|
|
3e82713e7a | ||
|
|
2efadfea59 | ||
|
|
39b974fec1 | ||
|
|
ef5e66f412 | ||
|
|
af29ac2363 | ||
|
|
f7d5d84f2a | ||
|
|
5ff98d6fef | ||
|
|
7cf786fd10 | ||
|
|
cd7e621f2d | ||
|
|
740bdf534a | ||
|
|
e0a1f927cf | ||
|
|
7c2526ce0c | ||
|
|
024c19c51e | ||
|
|
b030ad5a0c | ||
|
|
48c4854cd9 | ||
|
|
6a78c0002f | ||
|
|
5205382f29 | ||
|
|
bc128427c9 | ||
|
|
5241555307 | ||
|
|
96fa2d7742 | ||
|
|
f8c0723731 | ||
|
|
fede49c20b | ||
|
|
4967773d21 | ||
|
|
4662942992 | ||
|
|
e0359a860e | ||
|
|
f357479d07 | ||
|
|
26c07297c3 | ||
|
|
4eb9cd5b78 | ||
|
|
c25ed5d252 | ||
|
|
7b36eb5885 | ||
|
|
a7d217b38b | ||
|
|
5f9f5b445f | ||
|
|
556ff67488 | ||
|
|
420087ffd4 | ||
|
|
9fc3b60102 | ||
|
|
0ac4a84b4f | ||
|
|
4ed7cf3515 | ||
|
|
e2b7655d3a | ||
|
|
ee7d6049a3 | ||
|
|
6ac319831f | ||
|
|
2119a653f1 | ||
|
|
9c3acc8102 | ||
|
|
5e0e9ff4bc | ||
|
|
223bb36834 | ||
|
|
f357de6de3 | ||
|
|
a13ee3f4d6 | ||
|
|
8352f31ffd | ||
|
|
b70a4a40a3 | ||
|
|
c2f82ce93f | ||
|
|
d1f91b6c11 | ||
|
|
c44dc0370b | ||
|
|
159474aba5 | ||
|
|
3b10fad560 | ||
|
|
a444580592 | ||
|
|
abeb8cbd26 | ||
|
|
22d4ec54cd | ||
|
|
6bd0d4253e | ||
|
|
e2cbe0b609 | ||
|
|
c27b228682 | ||
|
|
51efa90b64 | ||
|
|
e3ed1441ee | ||
|
|
1aa5611c91 | ||
|
|
4527319f69 | ||
|
|
24fc4e1b3a | ||
|
|
d39d5bce1d | ||
|
|
770e8952b8 | ||
|
|
7c8d968e87 | ||
|
|
2203144490 | ||
|
|
7d7b826be8 | ||
|
|
4991177fac | ||
|
|
c89cae22b0 | ||
|
|
5ec7b398d1 |
@@ -40,35 +40,7 @@ jobs:
|
||||
mvn -B -ntp -s .gitea/ci-settings.xml -DskipFrontend=true verify
|
||||
|
||||
# Build + Trivy on every run (PRs included), so a broken Dockerfile or a new HIGH/CRITICAL CVE
|
||||
# blocks the merge.
|
||||
#
|
||||
# A PULL REQUEST MUST NOT TOUCH THE :latest TAG. This runner builds on the host's Docker daemon —
|
||||
# the same daemon the live container runs on — so retagging :latest IS a deployment: Watchtower
|
||||
# compares the running container's image against :latest, finds they differ, and recreates the
|
||||
# container from the locally built image. Gating only the push is not enough; the build is the
|
||||
# deploy.
|
||||
#
|
||||
# The damage is not only that unmerged code ships. Reassigning :latest leaves the running
|
||||
# container's old image untagged, and once that image is pruned Watchtower can no longer read it
|
||||
# to compare against, so it gives up every cycle:
|
||||
#
|
||||
# Failed to retrieve container image info: No such image: sha256:…
|
||||
# Unable to update container "/<name>": no available image info.
|
||||
#
|
||||
# That happened to bennett-portfolio on 2026-07-27: it sat on a four-day-old build, failing to
|
||||
# update 720 times in twenty-four hours, reporting healthy throughout. It had to be recreated by
|
||||
# hand. This repo has the same workflow and the same exposure.
|
||||
#
|
||||
# So a PR builds pr-<number>, which nothing watches. Trivy scans whatever was built, and the push
|
||||
# step below still only runs off a PR.
|
||||
- name: Choose the image tag
|
||||
run: |
|
||||
if [ "${{ github.event_name }}" = "pull_request" ]; then
|
||||
echo "IMAGE_TAG=pr-${{ github.event.number }}" >> "$GITHUB_ENV"
|
||||
else
|
||||
echo "IMAGE_TAG=latest" >> "$GITHUB_ENV"
|
||||
fi
|
||||
|
||||
# blocks the merge. Only the push is main-only.
|
||||
- name: Build image
|
||||
env:
|
||||
DOCKER_BUILDKIT: "1"
|
||||
@@ -79,17 +51,17 @@ jobs:
|
||||
--secret id=maven_user,env=MAVEN_USER \
|
||||
--secret id=maven_token,env=MAVEN_TOKEN \
|
||||
--build-arg GIT_SHA=${{ github.sha }} \
|
||||
-t "git.thebennett.net/reformedwitness/confessions-of-grace:$IMAGE_TAG" -t git.thebennett.net/reformedwitness/confessions-of-grace:${{ github.sha }} .
|
||||
-t git.thebennett.net/reformedwitness/confessions-of-grace:latest -t git.thebennett.net/reformedwitness/confessions-of-grace:${{ github.sha }} .
|
||||
|
||||
- name: Scan image (Trivy)
|
||||
run: |
|
||||
docker run --rm -v /var/run/docker.sock:/var/run/docker.sock \
|
||||
aquasec/trivy:latest image --scanners vuln --severity HIGH,CRITICAL --ignore-unfixed --no-progress \
|
||||
"git.thebennett.net/reformedwitness/confessions-of-grace:$IMAGE_TAG" || true
|
||||
git.thebennett.net/reformedwitness/confessions-of-grace:latest || true
|
||||
docker run --rm -v /var/run/docker.sock:/var/run/docker.sock \
|
||||
aquasec/trivy:latest image --scanners vuln --severity HIGH,CRITICAL --ignore-unfixed \
|
||||
--pkg-types library --exit-code 1 --no-progress \
|
||||
"git.thebennett.net/reformedwitness/confessions-of-grace:$IMAGE_TAG"
|
||||
git.thebennett.net/reformedwitness/confessions-of-grace:latest
|
||||
|
||||
# Publish only on a real push to main (or manual dispatch) — never from a pull request.
|
||||
- name: Push image
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
"dependencies": {
|
||||
"clsx": "2.1.1",
|
||||
"date-fns": "4.4.0",
|
||||
"lucide-react": "1.26.0",
|
||||
"lucide-react": "1.27.0",
|
||||
"react": "^19.2.7",
|
||||
"react-dom": "^19.2.7",
|
||||
"react-router-dom": "7.18.1",
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<parent>
|
||||
<groupId>net.thebennett.platform</groupId>
|
||||
<artifactId>platform-parent</artifactId>
|
||||
<version>0.1.10</version>
|
||||
<version>0.1.9</version>
|
||||
<relativePath/>
|
||||
</parent>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<dependency>
|
||||
<groupId>net.thebennett.platform</groupId>
|
||||
<artifactId>platform-bom</artifactId>
|
||||
<version>0.1.10</version>
|
||||
<version>0.1.9</version>
|
||||
<type>pom</type>
|
||||
<scope>import</scope>
|
||||
</dependency>
|
||||
|
||||
Reference in New Issue
Block a user