-
Notifications
You must be signed in to change notification settings - Fork 22
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
0 parents
commit aaf501f
Showing
30 changed files
with
1,962 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,192 @@ | ||
name: Build baota-docker Image (test) | ||
on: | ||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
# Triggers the workflow on push or pull request events but only for the main branch | ||
# push: | ||
# branches: [ main ] | ||
# push: | ||
# tags: | ||
# - "v*" | ||
|
||
jobs: | ||
Baota-docker_clear_image_Build: | ||
name: Build baota-docker Image (clear) | ||
runs-on: oracle-SanJose-arm-01 | ||
steps: | ||
- | ||
name: Get version | ||
id: get_version | ||
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//} # ${{ steps.get_version.outputs.VERSION }} | ||
- | ||
name: Private Actions Checkout | ||
uses: actions/checkout@v2.4.0 | ||
- | ||
name: Docker Setup QEMU | ||
uses: docker/setup-qemu-action@v1.2.0 | ||
- | ||
name: Docker Setup Buildx | ||
uses: docker/setup-buildx-action@v1.6.0 | ||
- | ||
name: Docker Login | ||
uses: docker/login-action@v1.12.0 | ||
with: | ||
username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
password: ${{ secrets.DOCKERHUB_PASSWORD }} | ||
continue-on-error: true | ||
- | ||
name: Docker Aliyun Login | ||
uses: docker/login-action@v1.12.0 | ||
with: | ||
registry: registry.cn-hangzhou.aliyuncs.com | ||
username: ${{ secrets.ALI_USERNAME }} | ||
password: ${{ secrets.ALI_PASSWORD }} | ||
continue-on-error: true | ||
- | ||
name: Build and push Docker images | ||
uses: docker/build-push-action@v2.7.0 | ||
with: | ||
context: clear/ | ||
platforms: linux/amd64 | ||
file: clear/Dockerfile_clear | ||
push: true | ||
tags: | | ||
${{ secrets.DOCKERHUB_USERNAME }}/baota-docker:clear | ||
registry.cn-hangzhou.aliyuncs.com/${{ secrets.NAME_SPACE }}/baota-docker:clear | ||
continue-on-error: true | ||
|
||
Baota-docker_ln_image_Build: | ||
name: Build baota-docker Image (ln) | ||
runs-on: oracle-Toronto-arm-01 | ||
steps: | ||
- | ||
name: Get version | ||
id: get_version | ||
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//} # ${{ steps.get_version.outputs.VERSION }} | ||
- | ||
name: Private Actions Checkout | ||
uses: actions/checkout@v2.4.0 | ||
- | ||
name: Docker Setup QEMU | ||
uses: docker/setup-qemu-action@v1.2.0 | ||
- | ||
name: Docker Setup Buildx | ||
uses: docker/setup-buildx-action@v1.6.0 | ||
- | ||
name: Docker Login | ||
uses: docker/login-action@v1.12.0 | ||
with: | ||
username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
password: ${{ secrets.DOCKERHUB_PASSWORD }} | ||
continue-on-error: true | ||
- | ||
name: Docker Aliyun Login | ||
uses: docker/login-action@v1.12.0 | ||
with: | ||
registry: registry.cn-hangzhou.aliyuncs.com | ||
username: ${{ secrets.ALI_USERNAME }} | ||
password: ${{ secrets.ALI_PASSWORD }} | ||
continue-on-error: true | ||
- | ||
name: Build and push Docker images | ||
uses: docker/build-push-action@v2.7.0 | ||
with: | ||
context: ln/ | ||
platforms: linux/amd64 | ||
file: ln/Dockerfile_ln | ||
push: true | ||
tags: | | ||
${{ secrets.DOCKERHUB_USERNAME }}/baota-docker:ln | ||
registry.cn-hangzhou.aliyuncs.com/${{ secrets.NAME_SPACE }}/baota-docker:ln | ||
continue-on-error: true | ||
|
||
Baota-docker_lnp_image_Build: | ||
name: Build baota-docker Image (lnp) | ||
runs-on: ubuntu-latest | ||
steps: | ||
- | ||
name: Get version | ||
id: get_version | ||
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//} # ${{ steps.get_version.outputs.VERSION }} | ||
- | ||
name: Private Actions Checkout | ||
uses: actions/checkout@v2.4.0 | ||
- | ||
name: Docker Setup QEMU | ||
uses: docker/setup-qemu-action@v1.2.0 | ||
- | ||
name: Docker Setup Buildx | ||
uses: docker/setup-buildx-action@v1.6.0 | ||
- | ||
name: Docker Login | ||
uses: docker/login-action@v1.12.0 | ||
with: | ||
username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
password: ${{ secrets.DOCKERHUB_PASSWORD }} | ||
continue-on-error: true | ||
- | ||
name: Docker Aliyun Login | ||
uses: docker/login-action@v1.12.0 | ||
with: | ||
registry: registry.cn-hangzhou.aliyuncs.com | ||
username: ${{ secrets.ALI_USERNAME }} | ||
password: ${{ secrets.ALI_PASSWORD }} | ||
continue-on-error: true | ||
- | ||
name: Build and push Docker images | ||
uses: docker/build-push-action@v2.7.0 | ||
with: | ||
context: lnp/ | ||
platforms: linux/amd64 | ||
file: lnp/Dockerfile_lnp | ||
push: true | ||
tags: | | ||
${{ secrets.DOCKERHUB_USERNAME }}/baota-docker:lnp | ||
registry.cn-hangzhou.aliyuncs.com/${{ secrets.NAME_SPACE }}/baota-docker:lnp | ||
continue-on-error: true | ||
|
||
Baota-docker_lnmp_image_Build: | ||
name: Build baota-docker Image (lnmp) | ||
runs-on: ubuntu-latest | ||
steps: | ||
- | ||
name: Get version | ||
id: get_version | ||
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//} # ${{ steps.get_version.outputs.VERSION }} | ||
- | ||
name: Private Actions Checkout | ||
uses: actions/checkout@v2.4.0 | ||
- | ||
name: Docker Setup QEMU | ||
uses: docker/setup-qemu-action@v1.2.0 | ||
- | ||
name: Docker Setup Buildx | ||
uses: docker/setup-buildx-action@v1.6.0 | ||
- | ||
name: Docker Login | ||
uses: docker/login-action@v1.12.0 | ||
with: | ||
username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
password: ${{ secrets.DOCKERHUB_PASSWORD }} | ||
continue-on-error: true | ||
- | ||
name: Docker Aliyun Login | ||
uses: docker/login-action@v1.12.0 | ||
with: | ||
registry: registry.cn-hangzhou.aliyuncs.com | ||
username: ${{ secrets.ALI_USERNAME }} | ||
password: ${{ secrets.ALI_PASSWORD }} | ||
continue-on-error: true | ||
- | ||
name: Build and push Docker images | ||
uses: docker/build-push-action@v2.7.0 | ||
with: | ||
context: lnmp/ | ||
platforms: linux/amd64 | ||
file: lnmp/Dockerfile_lnmp | ||
push: true | ||
tags: | | ||
${{ secrets.DOCKERHUB_USERNAME }}/baota-docker:lnmp | ||
registry.cn-hangzhou.aliyuncs.com/${{ secrets.NAME_SPACE }}/baota-docker:lnmp | ||
continue-on-error: true |
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,192 @@ | ||
name: Build baota-docker Image | ||
on: | ||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
# Triggers the workflow on push or pull request events but only for the main branch | ||
# push: | ||
# branches: [ main ] | ||
push: | ||
tags: | ||
- "v*" | ||
|
||
jobs: | ||
Baota-docker_clear_image_Build: | ||
name: Build baota-docker Image (clear) | ||
runs-on: ubuntu-latest | ||
steps: | ||
- | ||
name: Get version | ||
id: get_version | ||
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//} # ${{ steps.get_version.outputs.VERSION }} | ||
- | ||
name: Private Actions Checkout | ||
uses: actions/checkout@v2.4.0 | ||
- | ||
name: Docker Setup QEMU | ||
uses: docker/setup-qemu-action@v1.2.0 | ||
- | ||
name: Docker Setup Buildx | ||
uses: docker/setup-buildx-action@v1.6.0 | ||
- | ||
name: Docker Login | ||
uses: docker/login-action@v1.12.0 | ||
with: | ||
username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
password: ${{ secrets.DOCKERHUB_PASSWORD }} | ||
continue-on-error: true | ||
- | ||
name: Docker Aliyun Login | ||
uses: docker/login-action@v1.12.0 | ||
with: | ||
registry: registry.cn-hangzhou.aliyuncs.com | ||
username: ${{ secrets.ALI_USERNAME }} | ||
password: ${{ secrets.ALI_PASSWORD }} | ||
continue-on-error: true | ||
- | ||
name: Build and push Docker images | ||
uses: docker/build-push-action@v2.7.0 | ||
with: | ||
context: clear/ | ||
platforms: linux/amd64 | ||
file: clear/Dockerfile_clear | ||
push: true | ||
tags: | | ||
${{ secrets.DOCKERHUB_USERNAME }}/baota-docker:clear | ||
registry.cn-hangzhou.aliyuncs.com/${{ secrets.NAME_SPACE }}/baota-docker:clear | ||
continue-on-error: true | ||
|
||
Baota-docker_ln_image_Build: | ||
name: Build baota-docker Image (ln) | ||
runs-on: ubuntu-latest | ||
steps: | ||
- | ||
name: Get version | ||
id: get_version | ||
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//} # ${{ steps.get_version.outputs.VERSION }} | ||
- | ||
name: Private Actions Checkout | ||
uses: actions/checkout@v2.4.0 | ||
- | ||
name: Docker Setup QEMU | ||
uses: docker/setup-qemu-action@v1.2.0 | ||
- | ||
name: Docker Setup Buildx | ||
uses: docker/setup-buildx-action@v1.6.0 | ||
- | ||
name: Docker Login | ||
uses: docker/login-action@v1.12.0 | ||
with: | ||
username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
password: ${{ secrets.DOCKERHUB_PASSWORD }} | ||
continue-on-error: true | ||
- | ||
name: Docker Aliyun Login | ||
uses: docker/login-action@v1.12.0 | ||
with: | ||
registry: registry.cn-hangzhou.aliyuncs.com | ||
username: ${{ secrets.ALI_USERNAME }} | ||
password: ${{ secrets.ALI_PASSWORD }} | ||
continue-on-error: true | ||
- | ||
name: Build and push Docker images | ||
uses: docker/build-push-action@v2.7.0 | ||
with: | ||
context: ln/ | ||
platforms: linux/amd64 | ||
file: ln/Dockerfile_ln | ||
push: true | ||
tags: | | ||
${{ secrets.DOCKERHUB_USERNAME }}/baota-docker:ln | ||
registry.cn-hangzhou.aliyuncs.com/${{ secrets.NAME_SPACE }}/baota-docker:ln | ||
continue-on-error: true | ||
|
||
Baota-docker_lnp_image_Build: | ||
name: Build baota-docker Image (lnp) | ||
runs-on: ubuntu-latest | ||
steps: | ||
- | ||
name: Get version | ||
id: get_version | ||
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//} # ${{ steps.get_version.outputs.VERSION }} | ||
- | ||
name: Private Actions Checkout | ||
uses: actions/checkout@v2.4.0 | ||
- | ||
name: Docker Setup QEMU | ||
uses: docker/setup-qemu-action@v1.2.0 | ||
- | ||
name: Docker Setup Buildx | ||
uses: docker/setup-buildx-action@v1.6.0 | ||
- | ||
name: Docker Login | ||
uses: docker/login-action@v1.12.0 | ||
with: | ||
username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
password: ${{ secrets.DOCKERHUB_PASSWORD }} | ||
continue-on-error: true | ||
- | ||
name: Docker Aliyun Login | ||
uses: docker/login-action@v1.12.0 | ||
with: | ||
registry: registry.cn-hangzhou.aliyuncs.com | ||
username: ${{ secrets.ALI_USERNAME }} | ||
password: ${{ secrets.ALI_PASSWORD }} | ||
continue-on-error: true | ||
- | ||
name: Build and push Docker images | ||
uses: docker/build-push-action@v2.7.0 | ||
with: | ||
context: lnp/ | ||
platforms: linux/amd64 | ||
file: lnp/Dockerfile_lnp | ||
push: true | ||
tags: | | ||
${{ secrets.DOCKERHUB_USERNAME }}/baota-docker:lnp | ||
registry.cn-hangzhou.aliyuncs.com/${{ secrets.NAME_SPACE }}/baota-docker:lnp | ||
continue-on-error: true | ||
|
||
Baota-docker_lnmp_image_Build: | ||
name: Build baota-docker Image (lnmp) | ||
runs-on: ubuntu-latest | ||
steps: | ||
- | ||
name: Get version | ||
id: get_version | ||
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//} # ${{ steps.get_version.outputs.VERSION }} | ||
- | ||
name: Private Actions Checkout | ||
uses: actions/checkout@v2.4.0 | ||
- | ||
name: Docker Setup QEMU | ||
uses: docker/setup-qemu-action@v1.2.0 | ||
- | ||
name: Docker Setup Buildx | ||
uses: docker/setup-buildx-action@v1.6.0 | ||
- | ||
name: Docker Login | ||
uses: docker/login-action@v1.12.0 | ||
with: | ||
username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
password: ${{ secrets.DOCKERHUB_PASSWORD }} | ||
continue-on-error: true | ||
- | ||
name: Docker Aliyun Login | ||
uses: docker/login-action@v1.12.0 | ||
with: | ||
registry: registry.cn-hangzhou.aliyuncs.com | ||
username: ${{ secrets.ALI_USERNAME }} | ||
password: ${{ secrets.ALI_PASSWORD }} | ||
continue-on-error: true | ||
- | ||
name: Build and push Docker images | ||
uses: docker/build-push-action@v2.7.0 | ||
with: | ||
context: lnmp/ | ||
platforms: linux/amd64 | ||
file: lnmp/Dockerfile_lnmp | ||
push: true | ||
tags: | | ||
${{ secrets.DOCKERHUB_USERNAME }}/baota-docker:lnmp | ||
registry.cn-hangzhou.aliyuncs.com/${{ secrets.NAME_SPACE }}/baota-docker:lnmp | ||
continue-on-error: true |
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,5 @@ | ||
# osx | ||
.DS_Store | ||
|
||
# vscode | ||
.vscode |
Oops, something went wrong.