This is an automated email from the ASF dual-hosted git repository.
tanruixiang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-horaedb-meta.git
The following commit(s) were added to refs/heads/main by this push:
new ab067bf chore: fix publish nightly image (#293)
ab067bf is described below
commit ab067bf0305e4bc913b986b43745db2194e334c1
Author: chunshao.rcs <[email protected]>
AuthorDate: Mon Dec 25 11:31:00 2023 +0800
chore: fix publish nightly image (#293)
## Rationale
Fix publish nightly image.
## Detailed Changes
## Test Plan
No need.
---
.../{dockerhub-publish-nighty.yml => publish-nightly-image.yml} | 9 +--------
1 file changed, 1 insertion(+), 8 deletions(-)
diff --git a/.github/workflows/dockerhub-publish-nighty.yml
b/.github/workflows/publish-nightly-image.yml
similarity index 81%
rename from .github/workflows/dockerhub-publish-nighty.yml
rename to .github/workflows/publish-nightly-image.yml
index 55a84e2..f61be10 100644
--- a/.github/workflows/dockerhub-publish-nighty.yml
+++ b/.github/workflows/publish-nightly-image.yml
@@ -28,7 +28,7 @@ env:
jobs:
docker:
- if: github.repository_owner == 'FIXME'
+ if: github.repository_owner == 'apache'
runs-on: ubuntu-latest
permissions:
contents: read
@@ -44,12 +44,6 @@ jobs:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- - name: Login to Aliyun Docker Hub
- uses: docker/login-action@v2
- with:
- registry: registry.cn-hangzhou.aliyuncs.com
- username: ${{ secrets.ALIYUN_DOCKERHUB_USERNAME }}
- password: ${{ secrets.ALIYUN_DOCKERHUB_TOKEN }}
- name: Set Environment Variables
run: |
echo "BUILD_DATE=$(TZ=':Asia/Shanghai' date '+%Y%m%d')" >>
$GITHUB_ENV
@@ -61,4 +55,3 @@ jobs:
push: true
tags: |
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:nightly-${{
env.BUILD_DATE }}-${{ env.SHORT_SHA }}
-
registry.cn-hangzhou.aliyuncs.com/apache/horaemeta-server:nightly-${{
env.BUILD_DATE }}-${{ env.SHORT_SHA }}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]