mirror of
https://github.com/jlengrand/jreleaser.github.io.git
synced 2026-03-10 08:31:25 +00:00
This commit is contained in:
@@ -857,7 +857,7 @@ distributions:
|
||||
- serverName: DEFAULT
|
||||
# inherited by specs
|
||||
labels:
|
||||
'org.opencontainers.image.title': '{{repoOwner}}'
|
||||
'org.opencontainers.image.title': 'jreleaser'
|
||||
# inherited by specs
|
||||
postCommands:
|
||||
- 'VOLUME /workspace'
|
||||
@@ -865,8 +865,8 @@ distributions:
|
||||
specs:
|
||||
slim:
|
||||
imageNames:
|
||||
- '{{repoOwner}}/{{repoOwner}}-{{dockerSpecName}}:{{tagName}}'
|
||||
- '{{repoOwner}}/{{repoOwner}}-{{dockerSpecName}}:latest'
|
||||
- 'jreleaser/jreleaser-{{dockerSpecName}}:{{tagName}}'
|
||||
- 'jreleaser/jreleaser-{{dockerSpecName}}:latest'
|
||||
# match by platform
|
||||
matchers:
|
||||
platform: 'linux'
|
||||
@@ -875,8 +875,8 @@ distributions:
|
||||
- 'RUN apt-get install unzip'
|
||||
alpine:
|
||||
imageNames:
|
||||
- '{{repoOwner}}/{{repoOwner}}-{{dockerSpecName}}:{{tagName}}'
|
||||
- '{{repoOwner}}/{{repoOwner}}-{{dockerSpecName}}:latest'
|
||||
- 'jreleaser/jreleaser-{{dockerSpecName}}:{{tagName}}'
|
||||
- 'jreleaser/jreleaser-{{dockerSpecName}}:latest'
|
||||
# match by platform
|
||||
matchers:
|
||||
platform: 'linux_musl'
|
||||
|
||||
@@ -30,6 +30,12 @@ signing:
|
||||
# icon:dot-circle[]
|
||||
armored: true
|
||||
|
||||
# How should GPG keys be handled.
|
||||
# Valid values are [`MEMORY`, `FILE`].
|
||||
# Defaults to `MEMORY`.
|
||||
# icon:dot-circle[]
|
||||
mode: MEMORY
|
||||
|
||||
# The public GPG (ascii armored) used to sign files and commits.
|
||||
# If left unspecified, the `JRELEASER_GPG_PUBLIC_KEY`
|
||||
# environment variable must be defined.
|
||||
@@ -66,6 +72,12 @@ TOML::
|
||||
# icon:dot-circle[]
|
||||
armored = true
|
||||
|
||||
# How should GPG keys be handled.
|
||||
# Valid values are [`MEMORY`, `FILE`].
|
||||
# Defaults to `MEMORY`.
|
||||
# icon:dot-circle[]
|
||||
mode = 'MEMORY'
|
||||
|
||||
# The public GPG (ascii armored) used to sign files and commits.
|
||||
# If left unspecified, the `JRELEASER_GPG_PUBLIC_KEY`
|
||||
# environment variable must be defined.
|
||||
@@ -102,6 +114,12 @@ JSON::
|
||||
// icon:dot-circle[]
|
||||
"armored": true,
|
||||
|
||||
// How should GPG keys be handled.
|
||||
// Valid values are [`MEMORY`, `FILE`].
|
||||
// Defaults to `MEMORY`.
|
||||
// icon:dot-circle[]
|
||||
"mode": "MEMORY",
|
||||
|
||||
// The public GPG (ascii armored) used to sign files and commits.
|
||||
// If left unspecified, the `JRELEASER_GPG_PUBLIC_KEY`
|
||||
// environment variable must be defined.
|
||||
@@ -148,6 +166,14 @@ Maven::
|
||||
-->
|
||||
<armored>true</armored>
|
||||
|
||||
<!--
|
||||
How should GPG keys be handled.
|
||||
Valid values are [`MEMORY`, `FILE`].
|
||||
Defaults to `MEMORY`.
|
||||
icon:dot-circle[]
|
||||
-->
|
||||
<mode>MEMORY</mode>
|
||||
|
||||
<!--
|
||||
The public GPG (ascii armored) used to sign files and commits.
|
||||
If left unspecified, the `JRELEASER_GPG_PUBLIC_KEY`
|
||||
@@ -193,6 +219,12 @@ jreleaser {
|
||||
// icon:dot-circle[]
|
||||
armored = true
|
||||
|
||||
// How should GPG keys be handled.
|
||||
// Valid values are [`MEMORY`, `FILE`].
|
||||
// Defaults to `MEMORY`.
|
||||
// icon:dot-circle[]
|
||||
mode = 'MEMORY'
|
||||
|
||||
// The public GPG (ascii armored) used to sign files and commits.
|
||||
// If left unspecified, the `JRELEASER_GPG_PUBLIC_KEY`
|
||||
// environment variable must be defined.
|
||||
@@ -216,3 +248,12 @@ jreleaser {
|
||||
====
|
||||
|
||||
WARNING: Prefer the use of xref:configuration:environment.adoc[] if the configuration is stored at a public repository.
|
||||
|
||||
== Mode
|
||||
|
||||
When the mode is set to `MEMORY` (the default) then the values of `JRELEASER_GPG_PUBLIC_KEY` and
|
||||
`JRELEASER_GPG_SECRET_KEY` are treated as the actual contents for each key.
|
||||
|
||||
When the mode is set to `FILE` then the values of `JRELEASER_GPG_PUBLIC_KEY` and
|
||||
`JRELEASER_GPG_SECRET_KEY` are treated as file paths pointing to files that the keys.
|
||||
|
||||
|
||||
@@ -188,9 +188,10 @@ distributions:
|
||||
# inherited by specs
|
||||
registries:
|
||||
- serverName: DEFAULT
|
||||
username: jreleaser
|
||||
# inherited by specs
|
||||
labels:
|
||||
'org.opencontainers.image.title': '{{repoOwner}}'
|
||||
'org.opencontainers.image.title': 'jreleaser'
|
||||
# inherited by specs
|
||||
postCommands:
|
||||
- 'VOLUME /workspace'
|
||||
@@ -198,8 +199,8 @@ distributions:
|
||||
specs:
|
||||
slim:
|
||||
imageNames:
|
||||
- '{{repoOwner}}/{{repoOwner}}-{{dockerSpecName}}:{{tagName}}'
|
||||
- '{{repoOwner}}/{{repoOwner}}-{{dockerSpecName}}:latest'
|
||||
- 'jreleaser/jreleaser-{{dockerSpecName}}:{{tagName}}'
|
||||
- 'jreleaser/jreleaser-{{dockerSpecName}}:latest'
|
||||
# match by platform
|
||||
matchers:
|
||||
platform: 'linux'
|
||||
@@ -208,8 +209,8 @@ distributions:
|
||||
- 'RUN apt-get install unzip'
|
||||
alpine:
|
||||
imageNames:
|
||||
- '{{repoOwner}}/{{repoOwner}}-{{dockerSpecName}}:{{tagName}}'
|
||||
- '{{repoOwner}}/{{repoOwner}}-{{dockerSpecName}}:latest'
|
||||
- 'jreleaser/jreleaser-{{dockerSpecName}}:{{tagName}}'
|
||||
- 'jreleaser/jreleaser-{{dockerSpecName}}:latest'
|
||||
# match by platform
|
||||
matchers:
|
||||
platform: 'linux_musl'
|
||||
|
||||
Reference in New Issue
Block a user