Skip to content

Commit

Permalink
fix: gh variable set is failing (#166)
Browse files Browse the repository at this point in the history
  • Loading branch information
daviderli614 authored Jul 25, 2024
1 parent 3a14be7 commit fbd0231
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/dev-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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 }}
10 changes: 5 additions & 5 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit fbd0231

Please sign in to comment.