From fbd0231e6e54f81c2094c56144a47a25beef16d7 Mon Sep 17 00:00:00 2001 From: liyang Date: Thu, 25 Jul 2024 16:29:56 +0800 Subject: [PATCH] fix: gh variable set is failing (#166) --- .github/workflows/dev-build.yaml | 10 +++++----- .github/workflows/release.yaml | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/dev-build.yaml b/.github/workflows/dev-build.yaml index 43e472a9..f5099ab6 100644 --- a/.github/workflows/dev-build.yaml +++ b/.github/workflows/dev-build.yaml @@ -59,7 +59,7 @@ jobs: with: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - aws-region: ${{ var.ECR_REGION }} + aws-region: ${{ vars.ECR_REGION }} - name: Login to DockerHub uses: docker/login-action@v3 @@ -95,8 +95,8 @@ jobs: greptime/greptimedb-operator-dev:${{ env.VERSION }} greptime-registry.cn-hangzhou.cr.aliyuncs.com/greptime/greptimedb-operator-dev:latest greptime-registry.cn-hangzhou.cr.aliyuncs.com/greptime/greptimedb-operator-dev:${{ env.VERSION }} - ${{ var.ECR_REGISTRY }}/greptime/greptimedb-operator-dev:latest - ${{ var.ECR_REGISTRY }}/greptime/greptimedb-operator-dev:${{ env.VERSION }} + ${{ vars.ECR_REGISTRY }}/greptime/greptimedb-operator-dev:latest + ${{ vars.ECR_REGISTRY }}/greptime/greptimedb-operator-dev:${{ env.VERSION }} - name: Build and push initializer uses: docker/build-push-action@v5 @@ -110,5 +110,5 @@ jobs: greptime/greptimedb-initializer-dev:${{ env.VERSION }} greptime-registry.cn-hangzhou.cr.aliyuncs.com/greptime/greptimedb-initializer-dev:latest greptime-registry.cn-hangzhou.cr.aliyuncs.com/greptime/greptimedb-initializer-dev:${{ env.VERSION }} - ${{ var.ECR_REGISTRY }}/greptime/greptimedb-initializer-dev:latest - ${{ var.ECR_REGISTRY }}/greptime/greptimedb-initializer-dev:${{ env.VERSION }} + ${{ vars.ECR_REGISTRY }}/greptime/greptimedb-initializer-dev:latest + ${{ vars.ECR_REGISTRY }}/greptime/greptimedb-initializer-dev:${{ env.VERSION }} diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 2f671310..b731d2ab 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -41,7 +41,7 @@ jobs: with: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - aws-region: ${{ var.ECR_REGION }} + aws-region: ${{ vars.ECR_REGION }} - name: Login to DockerHub uses: docker/login-action@v3 @@ -76,8 +76,8 @@ jobs: greptime/greptimedb-operator:${{ env.VERSION }} greptime-registry.cn-hangzhou.cr.aliyuncs.com/greptime/greptimedb-operator:latest greptime-registry.cn-hangzhou.cr.aliyuncs.com/greptime/greptimedb-operator:${{ env.VERSION }} - ${{ var.ECR_REGISTRY }}/greptime/greptimedb-operator:latest - ${{ var.ECR_REGISTRY }}/greptime/greptimedb-operator:${{ env.VERSION }} + ${{ vars.ECR_REGISTRY }}/greptime/greptimedb-operator:latest + ${{ vars.ECR_REGISTRY }}/greptime/greptimedb-operator:${{ env.VERSION }} - name: Build and push initializer uses: docker/build-push-action@v5 @@ -90,8 +90,8 @@ jobs: greptime/greptimedb-initializer:${{ env.VERSION }} greptime-registry.cn-hangzhou.cr.aliyuncs.com/greptime/greptimedb-initializer:latest greptime-registry.cn-hangzhou.cr.aliyuncs.com/greptime/greptimedb-initializer:${{ env.VERSION }} - ${{ var.ECR_REGISTRY }}/greptime/greptimedb-initializer:latest - ${{ var.ECR_REGISTRY }}/greptime/greptimedb-initializer:${{ env.VERSION }} + ${{ vars.ECR_REGISTRY }}/greptime/greptimedb-initializer:latest + ${{ vars.ECR_REGISTRY }}/greptime/greptimedb-initializer:${{ env.VERSION }} release: name: Release the artifacts