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