Skip to content

Commit 723bc86

Browse files
author
bing.ma
committed
添加rocketmq-console-schnell18, 删除rocketmq-nameserver和rocketmq-operator目录
1 parent 884eec8 commit 723bc86

File tree

6 files changed

+50
-299
lines changed

6 files changed

+50
-299
lines changed

.github/workflows/release_manually.yml

Lines changed: 41 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ on:
1313
- 'rocketmq-nameserver'
1414
- 'rocketmq-broker'
1515
- 'rocketmq-dashboard'
16+
- 'rocketmq-console-schnell18'
1617
- 'rocketmq-controller'
1718
- 'community-server'
1819
- 'community-router'
@@ -461,8 +462,8 @@ jobs:
461462
annotations: |
462463
GITHUB_REF: ${{ github.ref }}
463464
GITHUB_SHA: ${{ github.sha }}
464-
context: ./arm64/images/rocketmq-nameserver/alpine
465-
file: ./arm64/images/rocketmq-nameserver/alpine/Dockerfile
465+
context: ./images/namesrv/alpine
466+
file: ./images/namesrv/alpine/Dockerfile
466467
github-token: ${{ secrets.GITHUB_TOKEN }}
467468
push: true
468469
platforms: ${{ env.BUILD_PLATFORM }}
@@ -555,6 +556,44 @@ jobs:
555556
cache-from: type=gha
556557
cache-to: type=gha,mode=max
557558

559+
# 在schnell18的基础上添加tzdata以支持更改时区
560+
rocketmq-console-schnell18:
561+
if : ${{ inputs.job == 'rocketmq-console-schnell18' }}
562+
runs-on: ubuntu-latest
563+
steps:
564+
- name: Git clone mysql-operator repo
565+
uses: actions/checkout@v3
566+
with:
567+
fetch-depth: 0
568+
569+
- name: Login to GitHub Container Registry
570+
uses: docker/login-action@v2
571+
with:
572+
registry: ghcr.io
573+
username: ${{ github.actor }}
574+
password: ${{ secrets.GITHUB_TOKEN }}
575+
576+
- name: Set up QEMU
577+
uses: docker/setup-qemu-action@v2
578+
- name: Set up Docker Buildx
579+
uses: docker/setup-buildx-action@v2.0.0
580+
- name: Build && Push
581+
uses: docker/build-push-action@v3.1.1
582+
with:
583+
annotations: |
584+
GITHUB_REF: ${{ github.ref }}
585+
GITHUB_SHA: ${{ github.sha }}
586+
context: ./rocketmq-console-schnell18
587+
file: ./rocketmq-console-schnell18/Dockerfile
588+
github-token: ${{ secrets.GITHUB_TOKEN }}
589+
push: true
590+
platforms: ${{ env.BUILD_PLATFORM }}
591+
tags: |
592+
${{ env.ONLINE_REGISTER }}/rclone-mongo:${{ inputs.tag }}
593+
cache-from: type=gha
594+
cache-to: type=gha,mode=max
595+
596+
# rocketmq-dashboard 打包失败, 使用上面的rocketmq-console-schnell18
558597
rocketmq-dashboard:
559598
if: ${{ inputs.job == 'rocketmq-dashboard' }}
560599
runs-on: ubuntu-latest
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
FROM schnell18/rocketmq-dashboard:1.0.0-alpine
2+
# 安装 tzdata 包
3+
RUN apk add --no-cache tzdata
4+
5+
# 设置默认时区(可选)
6+
ENV TZ=Asia/Shanghai
7+
RUN ln -fs /usr/share/zoneinfo/$TZ /etc/localtime
8+
9+
ENTRYPOINT ["/entrypoint.sh"]

arm64/images/rocketmq-nameserver/alpine/Dockerfile

Lines changed: 0 additions & 66 deletions
This file was deleted.

arm64/images/rocketmq-nameserver/alpine/build-namesrv-image.sh

Lines changed: 0 additions & 44 deletions
This file was deleted.

arm64/images/rocketmq-nameserver/alpine/runserver-customize.sh

Lines changed: 0 additions & 187 deletions
This file was deleted.

arm64/images/rocketmq-operator/Dockerfile

Whitespace-only changes.

0 commit comments

Comments
 (0)