From 1337306a4042fb90f46f129cb9c56d2eec421c72 Mon Sep 17 00:00:00 2001 From: ybgbob Date: Wed, 15 Nov 2023 11:05:59 +0800 Subject: [PATCH] chore: Docker Workflow --- .github/workflows/release.yaml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 5bf5517..4cf1a31 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -51,6 +51,11 @@ jobs: REACT_APP_DAPP_NAME: mindv05 G_TAG: G-VRYHWMVQ50 REACT_APP_API_DOMAIN: https://api-marketplace.mindpress.io/v1/ + REACT_APP_CROSS_CHAIN_FEE: 0.000001 + REACT_APP_INITIATE_LIST_FEE: 0.00003 + REACT_APP_LIST_FEE_ON_GF: 0.0000036 + REACT_APP_LIST_ESTIMATE_FEE_ON_BSC: 0.0000036 + REACT_APP_BSC_SEND_GAS_FEE: 10000000000 run: | pnpm run build @@ -73,11 +78,12 @@ jobs: - name: Push image run: | # Strip git ref prefix from version - VERSION=$(echo "${{ github.ref }}" | sed -e 's,.*/\(.*\),\1,') + # VERSION=$(echo "${{ github.ref }}" | sed -e 's,.*/\(.*\),\1,') + VERSION = ${GITHUB_SHA::8} # Strip "v" prefix from tag name - [[ "${{ github.ref }}" == "refs/tags/"* ]] && VERSION=$(echo $VERSION | sed -e 's/^v//') + # [[ "${{ github.ref }}" == "refs/tags/"* ]] && VERSION=$(echo $VERSION | sed -e 's/^v//') # Use Docker `latest` tag convention - [ "$VERSION" == "master" ] && VERSION=latest + # [ "$VERSION" == "master" ] && VERSION=latest echo IMAGE_NAME=$IMAGE_NAME echo VERSION=$VERSION docker tag $IMAGE_NAME $IMAGE_NAME:$VERSION