-
Notifications
You must be signed in to change notification settings - Fork 172
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update to rc2 and add release iamge (#394)
- Loading branch information
Showing
8 changed files
with
92 additions
and
6 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,22 @@ | ||
name: Tag Fedlearner APIServer | ||
|
||
on: | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set Short Commit Sha | ||
id: vars | ||
run: echo "::set-output name=sha_short::$(git rev-parse --short HEAD)" | ||
- uses: whoan/docker-build-with-cache-action@v5 | ||
with: | ||
username: fedlearner | ||
password: "${{ secrets.DOCKER_REGISTRY }}" | ||
image_name: fedlearner/fedlearner-apiserver | ||
image_tag: ${{ github.event.release.tag_name }} | ||
context: ./deploy/kubernetes_operator | ||
build_extra_args: --build-arg=WHAT=cmd/apiserver/main.go |
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,21 @@ | ||
name: Tag Fedlearner | ||
|
||
on: | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set Short Commit Sha | ||
id: vars | ||
run: echo "::set-output name=sha_short::$(git rev-parse --short HEAD)" | ||
- uses: whoan/docker-build-with-cache-action@v5 | ||
with: | ||
username: fedlearner | ||
password: "${{ secrets.DOCKER_REGISTRY }}" | ||
image_name: fedlearner | ||
image_tag: ${{ github.event.release.tag_name }} | ||
context: ./ |
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,22 @@ | ||
name: Tag Kubernetes Operator | ||
|
||
on: | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set Short Commit Sha | ||
id: vars | ||
run: echo "::set-output name=sha_short::$(git rev-parse --short HEAD)" | ||
- uses: whoan/docker-build-with-cache-action@v5 | ||
with: | ||
username: fedlearner | ||
password: "${{ secrets.DOCKER_REGISTRY }}" | ||
image_name: fedlearner/fedlearner-operator | ||
image_tag: ${{ github.event.release.tag_name }} | ||
context: ./deploy/kubernetes_operator | ||
build_extra_args: --build-arg=WHAT=cmd/operator/main.go |
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,21 @@ | ||
name: Tag Web Console | ||
|
||
on: | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set Short Commit Sha | ||
id: vars | ||
run: echo "::set-output name=sha_short::$(git rev-parse --short HEAD)" | ||
- uses: whoan/docker-build-with-cache-action@v5 | ||
with: | ||
context: ./web_console | ||
image_name: fedlearner/fedlearner-web-console | ||
image_tag: ${{ github.event.release.tag_name }} | ||
username: fedlearner | ||
password: "${{ secrets.DOCKER_REGISTRY }}" |
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
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