forked from bitpoke/mysql-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
guozhi.li
committed
Jan 3, 2023
1 parent
c6333c8
commit 52ba366
Showing
1 changed file
with
36 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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/[email protected] | ||
- name: mysql-operator | ||
uses: docker/[email protected] | ||
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/[email protected] | ||
# 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 | ||
# 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/[email protected] | ||
- name: mysql-operator | ||
uses: docker/[email protected] | ||
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 |