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.
16 lines
612 B
16 lines
612 B
name: release besu
|
|
on:
|
|
release:
|
|
types: released
|
|
jobs:
|
|
dockerPromoteX64:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Login to DockerHub
|
|
run: echo ${{ secrets.DOCKER_PASSWORD_RW }} | docker login -u ${{ secrets.DOCKER_USER_RW }} --password-stdin
|
|
- name: pull tagged image
|
|
run: docker pull ${{ secrets.DOCKER_ORG }}/besu:gitSha-${{ github.sha }}
|
|
- name: apply latest tag
|
|
run: docker tag ${{ secrets.DOCKER_ORG }}/besu:gitSha-${{ github.sha }} ${{ secrets.DOCKER_ORG }}/besu:latest
|
|
- name: push
|
|
run: docker push ${{ secrets.DOCKER_ORG }}/besu:latest
|
|
|