Skip to content

Commit

Permalink
build: Using java binary distribution for brew and docker
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien Ruaux committed Jun 2, 2023
1 parent a4586ae commit f7c80cb
Showing 1 changed file with 26 additions and 29 deletions.
55 changes: 26 additions & 29 deletions jreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -172,13 +172,39 @@ assemble:

distributions:
riot:
brew:
active: ALWAYS
formulaName: riot
multiPlatform: true
tap:
active: RELEASE
commitMessage: 'riot {{tagName}}'
chocolatey:
active: ALWAYS
remoteBuild: true
title: RIOT
iconUrl: 'https://raw.githubusercontent.com/redis-developer/riot/main/src/media/icon_128x128.png'
bucket:
active: RELEASE
docker:
active: ALWAYS
repository:
active: ALWAYS
commitMessage: 'riot {{tagName}}'
registries:
- serverName: DEFAULT
username: jrdx
repositoryName: fieldengineering
labels:
'org.opencontainers.image.title': 'riot'
imageNames:
- 'fieldengineering/{{distributionName}}:{{tagName}}'
- 'fieldengineering/{{distributionName}}:latest'
buildx:
enabled: true
platforms:
- 'linux/amd64'
- 'linux/arm64'
jbang:
active: ALWAYS
alias: riot
Expand Down Expand Up @@ -235,35 +261,6 @@ distributions:
active: RELEASE
name: riot-appimage
commitMessage: 'riot {{tagName}}'
brew:
active: ALWAYS
formulaName: riot
multiPlatform: true
tap:
active: RELEASE
commitMessage: 'riot {{tagName}}'
docker:
active: ALWAYS
repository:
active: ALWAYS
commitMessage: 'riot {{tagName}}'
registries:
- serverName: DEFAULT
username: jrdx
repositoryName: fieldengineering
labels:
'org.opencontainers.image.title': 'riot'
postCommands:
- 'VOLUME /workspace'
specs:
alpine:
imageNames:
- 'fieldengineering/riot:{{tagName}}'
- 'fieldengineering/riot:latest'
matchers:
platform: 'linux_musl-x86_64'
preCommands:
- 'RUN apk add unzip binutils fakeroot rpm bash'

files:
artifacts:
Expand Down

0 comments on commit f7c80cb

Please sign in to comment.