This repository has been archived by the owner on Nov 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Set up image publish workflow for feature branches (#414)
* chore: Set up workflow for PR image publishing * iterate * use branch name as tag
- Loading branch information
1 parent
66fad97
commit 8a83871
Showing
2 changed files
with
35 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,25 @@ | ||
name: Publish images from Feature Branches | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
setup_env: | ||
uses: ./.github/workflows/setup-environment.yml | ||
|
||
build_from_branch: | ||
needs: setup_env | ||
uses: ./.github/workflows/image-build.yml | ||
secrets: inherit | ||
with: | ||
component_version: ${{ needs.setup_env.outputs.component_version }} | ||
|
||
publish_from_branch: | ||
uses: ./.github/workflows/image-publish.yml | ||
needs: build_from_branch | ||
secrets: inherit | ||
with: | ||
gar_push_enabled: true | ||
gar_image_name: us-docker.pkg.dev/vorvan/dev/mlops/temp/h2oai-modelscoring-restscorer | ||
ecr_push_enabled: false | ||
image_tags: "${{ needs.setup_env.outputs.sanitized_branch_name }}" |
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