mirror of https://github.com/hyperledger/besu
An enterprise-grade Java-based, Apache 2.0 licensed Ethereum client https://wiki.hyperledger.org/display/besu
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
1.2 KiB
30 lines
1.2 KiB
name: release besu
|
|
on:
|
|
release:
|
|
types: [released]
|
|
env:
|
|
registry: docker.io
|
|
jobs:
|
|
dockerPromoteX64:
|
|
runs-on: ubuntu-22.04
|
|
steps:
|
|
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
|
|
- uses: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93
|
|
with:
|
|
distribution: 'temurin' # See 'Supported distributions' for available options
|
|
java-version: '17'
|
|
cache: gradle
|
|
- name: login to ${{ env.registry }}
|
|
uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d
|
|
with:
|
|
registry: ${{ env.registry }}
|
|
username: ${{ secrets.DOCKER_USER_RW }}
|
|
password: ${{ secrets.DOCKER_PASSWORD_RW }}
|
|
- name: Setup Gradle
|
|
uses: gradle/actions/setup-gradle@9e899d11ad247ec76be7a60bc1cf9d3abbb9e7f1
|
|
with:
|
|
cache-disabled: true
|
|
- name: Docker upload
|
|
run: ./gradlew "-Prelease.releaseVersion=${{ github.ref_name }}" "-PdockerOrgName=${{ env.registry }}/${{ secrets.DOCKER_ORG }}" dockerUploadRelease
|
|
- name: Docker manifest
|
|
run: ./gradlew "-Prelease.releaseVersion=${{ github.ref_name }}" "-PdockerOrgName=${{ env.registry }}/${{ secrets.DOCKER_ORG }}" manifestDockerRelease
|
|
|