Skip to content

Commit

Permalink
chore: fix syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
iosh committed Jul 3, 2024
1 parent 9a4802b commit e69df53
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Remove v prefix
id: remove_prefix
env:
TAG_NAME: ${{ steps.extract_tag.outputs.TAG_NAME }}
TAG_NAME: ${{ github.ref_name }}
run: |
echo "CLEANED_TAG_NAME=${TAG_NAME#v}" >> $GITHUB_ENV
echo Version: $CLEANED_TAG_NAME
Expand All @@ -37,4 +37,4 @@ jobs:
file: ./Dockerfile.dev.buildx
platforms: linux/amd64,linux/arm64
push: true
tags: confluxchain/conflux-rust:${{ CLEANED_TAG_NAME }},confluxchain/conflux-rust:latest
tags: confluxchain/conflux-rust:${CLEANED_TAG_NAME},confluxchain/conflux-rust:latest
4 changes: 2 additions & 2 deletions .github/workflows/mainNet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ jobs:
uses: docker/build-push-action@v6
with:
build-args: |
VERSION=${{ CLEANED_TAG_NAME }
VERSION=${CLEANED_TAG_NAME}
file: ./Dockerfile.buildx
platforms: linux/amd64,linux/arm64
push: true
tags: confluxchain/conflux-rust:${{ CLEANED_TAG_NAME }}-mainnet
tags: confluxchain/conflux-rust:${CLEANED_TAG_NAME}-mainnet
9 changes: 4 additions & 5 deletions .github/workflows/testNet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,12 @@ 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}" >> $CLEANED_TAG_NAME

TAG_NAME: ${{ github.ref_name }}
run: echo "CLEANED_TAG_NAME=${TAG_NAME#v}" >> $GITHUB_ENV

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

0 comments on commit e69df53

Please sign in to comment.