Skip to content

Commit

Permalink
chore: update evm
Browse files Browse the repository at this point in the history
  • Loading branch information
iosh committed Jul 3, 2024
1 parent 31d4025 commit 6b4219b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
id: remove_prefix
env:
TAG_NAME: ${{ steps.extract_tag.outputs.TAG_NAME }}
run: echo "::set-output name=CLEANED_TAG_NAME::${TAG_NAME#v}"
run: echo "CLEANED_TAG_NAME=${TAG_NAME#v}" >> $GITHUB_OUTPUT

- name: Build and push
uses: docker/build-push-action@v6
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mainNet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
TAG_NAME=${GITHUB_REF#refs/tags/}
CLEANED_TAG_NAME=${TAG_NAME#v}
CLEANED_TAG_NAME=${CLEANED_TAG_NAME%-mainnet}
echo "::set-output name=CLEANED_TAG_NAME::${CLEANED_TAG_NAME}"
echo "CLEANED_TAG_NAME::${CLEANED_TAG_NAME}" >> $GITHUB_OUTPUT
- name: Build and push
uses: docker/build-push-action@v6
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/testNet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@ jobs:
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Remove v prefix
id: remove_prefix
env:
TAG_NAME: ${{ steps.extract_tag.outputs.TAG_NAME }}
run: echo "CLEANED_TAG_NAME=${TAG_NAME#v}" >> $GITHUB_OUTPUT


- name: Build and push
uses: docker/build-push-action@v6
Expand All @@ -27,4 +34,4 @@ jobs:
file: ./Dockerfile.buildx
platforms: linux/amd64,linux/arm64
push: true
tags: confluxchain/conflux-rust:${{ github.ref_name }}
tags: confluxchain/conflux-rust:${{ steps.remove_prefix.outputs.CLEANED_TAG_NAME }}

0 comments on commit 6b4219b

Please sign in to comment.