mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-19 21:31:37 +00:00
fix blank output image name (#515)
This commit is contained in:
parent
b5358663fe
commit
f6ee225293
1 changed files with 5 additions and 6 deletions
11
.github/workflows/ci.yml
vendored
11
.github/workflows/ci.yml
vendored
|
|
@ -81,12 +81,13 @@ jobs:
|
|||
if: github.ref == 'refs/heads/dev-upgrade' && !startsWith(github.ref, 'refs/tags/')
|
||||
needs: tests
|
||||
outputs:
|
||||
output1: ${{ steps.out.outputs.image_name }}
|
||||
output1: ${{ steps.docker.outputs.image_name }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Login to Docker Hub
|
||||
run: echo ${{ secrets.DOCKER_PASSWORD }} | docker login -u ${{ secrets.DOCKER_USERNAME }} --password-stdin
|
||||
- name: Build and Push Docker images
|
||||
id: docker
|
||||
run: |
|
||||
git_hash=$(git rev-parse --short "$GITHUB_SHA")
|
||||
image_name=xinfinorg/devnet:dev-upgrade-${git_hash}
|
||||
|
|
@ -98,10 +99,8 @@ jobs:
|
|||
docker push $image_name
|
||||
docker push xinfinorg/devnet:latest
|
||||
docker push xinfinorg/devnet:previous
|
||||
|
||||
- name: Output image name
|
||||
id: out
|
||||
run: echo "image_name=$image_name" >> "$GITHUB_OUTPUT"
|
||||
echo "image_name=$image_name"
|
||||
echo "image_name=$image_name" >> "$GITHUB_OUTPUT"
|
||||
|
||||
devnet_terraform_apply:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
@ -158,7 +157,7 @@ jobs:
|
|||
options: |
|
||||
--inventory inventory.yaml
|
||||
--extra-vars network=ec2_rpcs
|
||||
--extra-vars rpc_image=${{ needs.devnet_build_push.outputs.image_name }}
|
||||
--extra-vars rpc_image=${{ needs.devnet_build_push.outputs.output1 }}
|
||||
|
||||
devnet_dev-upgrade_node:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
|||
Loading…
Reference in a new issue