From 52ba3668f06ac1d46ba8eed3273d96a5d9a0a304 Mon Sep 17 00:00:00 2001 From: "guozhi.li" Date: Tue, 3 Jan 2023 15:11:20 +0800 Subject: [PATCH] ot-redis-operator --- .github/workflows/release.yml | 72 +++++++++++++++++------------------ 1 file changed, 36 insertions(+), 36 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c4398d032..9a8abaa98 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,37 +7,7 @@ env: ONLINE_REGISTER: ghcr.io/ksmartdata BUILD_PLATFORM: linux/amd64,linux/arm64 jobs: - rabbitmq-cluster-operator: - runs-on: ubuntu-latest - steps: - - name: Git clone mysql-operator repo - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Login to GitHub Container Registry - uses: docker/login-action@v2 - with: - registry: ghcr.io - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} - - name: Set up QEMU - uses: docker/setup-qemu-action@v2 - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2.0.0 - - name: mysql-operator - uses: docker/build-push-action@v3.1.1 - with: - context: ./arm64/images/rabbitmq-cluster-operator - file: ./arm64/images/rabbitmq-cluster-operator/Dockerfile - github-token: ${{ secrets.GITHUB_TOKEN }} - push: true - platforms: ${{ env.BUILD_PLATFORM }} - tags: | - ${{ env.ONLINE_REGISTER }}/rabbitmq-cluster-operator:v1.14.0 - ${{ env.ONLINE_REGISTER }}/rabbitmq-cluster-operator:latest - cache-from: type=gha - cache-to: type=gha,mode=max -# ot-redis-operator: +# rabbitmq-cluster-operator: # runs-on: ubuntu-latest # steps: # - name: Git clone mysql-operator repo @@ -57,13 +27,43 @@ jobs: # - name: mysql-operator # uses: docker/build-push-action@v3.1.1 # with: -# context: ./ -# file: ./arm64/images/ot-redis-operator/Dockerfile +# context: ./arm64/images/rabbitmq-cluster-operator +# file: ./arm64/images/rabbitmq-cluster-operator/Dockerfile # github-token: ${{ secrets.GITHUB_TOKEN }} # push: true # platforms: ${{ env.BUILD_PLATFORM }} # tags: | -# ${{ env.ONLINE_REGISTER }}/ot-redis-operator:v0.13.0 -# ${{ env.ONLINE_REGISTER }}/ot-redis-operator:latest +# ${{ env.ONLINE_REGISTER }}/rabbitmq-cluster-operator:v1.14.0 +# ${{ env.ONLINE_REGISTER }}/rabbitmq-cluster-operator:latest # cache-from: type=gha -# cache-to: type=gha,mode=max \ No newline at end of file +# cache-to: type=gha,mode=max + ot-redis-operator: + runs-on: ubuntu-latest + steps: + - name: Git clone mysql-operator repo + uses: actions/checkout@v3 + with: + fetch-depth: 0 + - name: Login to GitHub Container Registry + uses: docker/login-action@v2 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} + - name: Set up QEMU + uses: docker/setup-qemu-action@v2 + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v2.0.0 + - name: mysql-operator + uses: docker/build-push-action@v3.1.1 + with: + context: ./ + file: ./arm64/images/ot-redis-operator/Dockerfile + github-token: ${{ secrets.GITHUB_TOKEN }} + push: true + platforms: ${{ env.BUILD_PLATFORM }} + tags: | + ${{ env.ONLINE_REGISTER }}/ot-redis-operator:v0.13.1 + ${{ env.ONLINE_REGISTER }}/ot-redis-operator:latest + cache-from: type=gha + cache-to: type=gha,mode=max \ No newline at end of file