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.
Merge branch 'extra_image' of https://github.com/ksmartdata/mysql-ope…
…rator into extra_image
- Loading branch information
Showing
2 changed files
with
67 additions
and
35 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,7 +7,37 @@ env: | |
ONLINE_REGISTER: ghcr.io/ksmartdata | ||
BUILD_PLATFORM: linux/amd64,linux/arm64 | ||
jobs: | ||
# rabbitmq-cluster-operator: | ||
zoo-entrance: | ||
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: zoo-entrance | ||
uses: docker/[email protected] | ||
with: | ||
context: ./arm64/images/zoo-entrance | ||
file: ./arm64/images/zoo-entrance/Dockerfile | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
push: true | ||
platforms: ${{ env.BUILD_PLATFORM }} | ||
tags: | | ||
${{ env.ONLINE_REGISTER }}/zoo-entrance:v1.0.0 | ||
${{ env.ONLINE_REGISTER }}/zoo-entrance:latest | ||
cache-from: type=gha | ||
cache-to: type=gha,mode=max | ||
# ot-redis: | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# - name: Git clone mysql-operator repo | ||
|
@@ -27,43 +57,43 @@ jobs: | |
# - name: mysql-operator | ||
# uses: docker/[email protected] | ||
# with: | ||
# context: ./arm64/images/rabbitmq-cluster-operator | ||
# file: ./arm64/images/rabbitmq-cluster-operator/Dockerfile | ||
# context: ./arm64/images/ot-redis | ||
# file: ./arm64/images/ot-redis/Dockerfile-bash | ||
# 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 | ||
# ${{ env.ONLINE_REGISTER }}/ot-redis:v6.2.5-alpine | ||
# ${{ env.ONLINE_REGISTER }}/ot-redis:latest | ||
# cache-from: type=gha | ||
# 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.0 | ||
# ${{ env.ONLINE_REGISTER }}/ot-redis-operator:latest | ||
# cache-from: type=gha | ||
# 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 |
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
FROM --platform=$TARGETPLATFORM ghcr.io/scholzj/zoo-entrance:latest as builder | ||
|