-
Notifications
You must be signed in to change notification settings - Fork 125
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Separate out jobs to run in parallel
- Loading branch information
Showing
6 changed files
with
160 additions
and
65 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
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,32 @@ | ||
name: Build & Push Kubeflow Pytorch Plugin Docker Image | ||
|
||
on: | ||
pull_request: | ||
create: | ||
tags: | ||
- v* | ||
|
||
jobs: | ||
push-github: | ||
name: Push to GHCR | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
working-directory: cookbook | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: "0" | ||
- name: Push Kubeflow Pytorch Plugin Docker Image to Github Registry | ||
uses: whoan/docker-build-with-cache-action@v5 | ||
with: | ||
# https://docs.github.com/en/packages/learn-github-packages/publishing-a-package | ||
username: "${{ secrets.FLYTE_BOT_USERNAME }}" | ||
password: "${{ secrets.FLYTE_BOT_PAT }}" | ||
image_name: ${{ github.repository_owner }}/flytecookbook-kfpytorch | ||
image_tag: latest,${{ github.sha }},${{ github.event.ref }} | ||
push_git_tag: true | ||
registry: ghcr.io | ||
build_extra_args: "--compress=true" | ||
context: ./cookbook/recipes/plugins/kfpytorch | ||
dockerfile: Dockerfile |
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,32 @@ | ||
name: Build & Push Pod Plugin Docker Image | ||
|
||
on: | ||
pull_request: | ||
create: | ||
tags: | ||
- v* | ||
|
||
jobs: | ||
push-github: | ||
name: Push to GHCR | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
working-directory: cookbook | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: "0" | ||
- name: Push Pod Plugin Docker Image to Github Registry | ||
uses: whoan/docker-build-with-cache-action@v5 | ||
with: | ||
# https://docs.github.com/en/packages/learn-github-packages/publishing-a-package | ||
username: "${{ secrets.FLYTE_BOT_USERNAME }}" | ||
password: "${{ secrets.FLYTE_BOT_PAT }}" | ||
image_name: ${{ github.repository_owner }}/flytecookbook-pod | ||
image_tag: latest,${{ github.sha }},${{ github.event.ref }} | ||
push_git_tag: true | ||
registry: ghcr.io | ||
build_extra_args: "--compress=true" | ||
context: ./cookbook/recipes/plugins/pod | ||
dockerfile: Dockerfile |
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,32 @@ | ||
name: Build & Push SageMaker Pytorch Plugin Docker Image | ||
|
||
on: | ||
pull_request: | ||
create: | ||
tags: | ||
- v* | ||
|
||
jobs: | ||
push-github: | ||
name: Push to GHCR | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
working-directory: cookbook | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: "0" | ||
- name: Push SageMaker Pytorch Plugin Docker Image to Github Registry | ||
uses: whoan/docker-build-with-cache-action@v5 | ||
with: | ||
# https://docs.github.com/en/packages/learn-github-packages/publishing-a-package | ||
username: "${{ secrets.FLYTE_BOT_USERNAME }}" | ||
password: "${{ secrets.FLYTE_BOT_PAT }}" | ||
image_name: ${{ github.repository_owner }}/flytecookbook-sagemaker-pytorch | ||
image_tag: latest,${{ github.sha }},${{ github.event.ref }} | ||
push_git_tag: true | ||
registry: ghcr.io | ||
build_extra_args: "--compress=true" | ||
context: ./cookbook/recipes/plugins/sagemaker_pytorch | ||
dockerfile: Dockerfile |
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,32 @@ | ||
name: Build & Push SageMaker Training Plugin Docker Image | ||
|
||
on: | ||
pull_request: | ||
create: | ||
tags: | ||
- v* | ||
|
||
jobs: | ||
push-github: | ||
name: Push to GHCR | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
working-directory: cookbook | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: "0" | ||
- name: Push SageMaker Training Plugin Docker Image to Github Registry | ||
uses: whoan/docker-build-with-cache-action@v5 | ||
with: | ||
# https://docs.github.com/en/packages/learn-github-packages/publishing-a-package | ||
username: "${{ secrets.FLYTE_BOT_USERNAME }}" | ||
password: "${{ secrets.FLYTE_BOT_PAT }}" | ||
image_name: ${{ github.repository_owner }}/flytecookbook-sagemaker-training | ||
image_tag: latest,${{ github.sha }},${{ github.event.ref }} | ||
push_git_tag: true | ||
registry: ghcr.io | ||
build_extra_args: "--compress=true" | ||
context: ./cookbook/recipes/plugins/sagemaker_training | ||
dockerfile: Dockerfile |
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,32 @@ | ||
name: Build & Push Spark Plugin Docker Image | ||
|
||
on: | ||
pull_request: | ||
create: | ||
tags: | ||
- v* | ||
|
||
jobs: | ||
push-github: | ||
name: Push to GHCR | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
working-directory: cookbook | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: "0" | ||
- name: Push Spark Plugin Docker Image to Github Registry | ||
uses: whoan/docker-build-with-cache-action@v5 | ||
with: | ||
# https://docs.github.com/en/packages/learn-github-packages/publishing-a-package | ||
username: "${{ secrets.FLYTE_BOT_USERNAME }}" | ||
password: "${{ secrets.FLYTE_BOT_PAT }}" | ||
image_name: ${{ github.repository_owner }}/flytecookbook-spark | ||
image_tag: latest,${{ github.sha }},${{ github.event.ref }} | ||
push_git_tag: true | ||
registry: ghcr.io | ||
build_extra_args: "--compress=true" | ||
context: ./cookbook/recipes/plugins/k8s_spark | ||
dockerfile: Dockerfile |