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.
23 lines
937 B
23 lines
937 B
name: release besu
|
|
on:
|
|
workflow_dispatch:
|
|
release:
|
|
types: [released]
|
|
jobs:
|
|
dockerPromoteX64:
|
|
runs-on: ubuntu-22.04
|
|
steps:
|
|
- uses: actions/checkout@v4.1.1
|
|
- uses: actions/setup-java@v4.0.0
|
|
with:
|
|
distribution: 'temurin' # See 'Supported distributions' for available options
|
|
java-version: '17'
|
|
cache: gradle
|
|
- name: Login to DockerHub
|
|
run: echo '${{ secrets.DOCKER_PASSWORD_RW }}' | docker login -u '${{ secrets.DOCKER_USER_RW }}' --password-stdin
|
|
- name: Setup Gradle
|
|
uses: gradle/gradle-build-action@v2.12.0
|
|
- name: Docker upload
|
|
run: ./gradlew "-Prelease.releaseVersion=${{ github.ref_name }}" "-PdockerOrgName=${{ secrets.DOCKER_ORG }}" dockerUploadRelease
|
|
- name: Docker manifest
|
|
run: ./gradlew "-Prelease.releaseVersion=${{ github.ref_name }}" "-PdockerOrgName=${{ secrets.DOCKER_ORG }}" manifestDockerRelease
|
|
|