Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 0 additions & 39 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,6 @@ jobs:
java-distribution: "temurin"
secrets: inherit

publish-snapshot:
needs: [release-please, version]
if: needs.version.outputs.is_snapshot == 'true'
uses: OneLiteFeatherNET/workflows/.github/workflows/gradle-publish.yml@v2.8.1
with:
java-version: "25.0.3"
java-distribution: "temurin"
secrets: inherit

# ---- Release Docker image (Gradle produces the context, docker-publish builds it) ----
build-context:
name: Build Docker context
Expand Down Expand Up @@ -85,36 +76,6 @@ jobs:
req-concurrent: "4"
secrets: inherit

# ---- Snapshot Docker image (on every non-release push to main) ----
build-context-snapshot:
name: Build Docker context (snapshot)
needs: [release-please, version]
if: needs.version.outputs.is_snapshot == 'true'
uses: OneLiteFeatherNET/workflows/.github/workflows/gradle-docker-context.yml@v2.8.1
with:
version: ${{ needs.version.outputs.version }}
gradle-command: "./gradlew jar optimizedBuildLayers optimizedDockerfile -Pversion=$VERSION"
context-path: "build/docker/optimized"
artifact-name: "docker-context-snapshot"
secrets: inherit

docker-snapshot:
name: Build Docker Artifacts (snapshot)
needs: [version, build-context-snapshot]
permissions:
contents: read
id-token: write # keyless cosign signing via GitHub OIDC
if: needs.version.outputs.is_snapshot == 'true'
uses: OneLiteFeatherNET/workflows/.github/workflows/docker-publish.yml@v2.8.1
with:
image-name: "onelitefeather/vulpes-backend"
version: ${{ needs.version.outputs.version }}
context: "build/docker/optimized"
artifact-name: "docker-context-snapshot"
blob-chunk: "90000000" # ~90 MB, under the 100 MB Cloudflare cap
req-concurrent: "4"
secrets: inherit

sbom:
name: Attach SBOM to release
needs: release-please
Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ plugins {
alias(libs.plugins.cyclonedx)
}

version = "2.4.2-SNAPSHOT" // x-release-please-version
version = "2.4.1" // x-release-please-version

java {
toolchain {
Expand Down
1 change: 0 additions & 1 deletion release-please-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"packages": {
".": {
"package-name": "vulpes-backend",
"release-type": "java",
"changelog-path": "CHANGELOG.md",
"extra-files": [
{
Expand Down
Loading