Skip to content
This repository has been archived by the owner on Nov 29, 2024. It is now read-only.

Commit

Permalink
fix: Inherit secrets and update branch retrieval for manual publish w…
Browse files Browse the repository at this point in the history
…orkflow (#415)
  • Loading branch information
Rupeekshan authored Aug 26, 2024
1 parent 8a83871 commit 65d0f72
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/manual-image-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ jobs:
secrets: inherit
with:
gar_push_enabled: true
gar_image_name: us-docker.pkg.dev/vorvan/dev/mlops/temp/h2oai-modelscoring-restscorer
gar_image_name: us-docker.pkg.dev/vorvan/mlops-dev/h2oai-modelscoring-restscorer
ecr_push_enabled: false
image_tags: "${{ needs.setup_env.outputs.sanitized_branch_name }}"
4 changes: 2 additions & 2 deletions .github/workflows/setup-environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
component_version: ${{ steps.component_version.outputs.version }}
sanitized_branch_name: ${{ steps.sanitized_branch_name.outputs.name }}
steps:
- name: Checkout
- name: Checkout repository
uses: actions/checkout@v4

- name: Save Github Commit Hash
Expand Down Expand Up @@ -70,5 +70,5 @@ jobs:
- name: Save Sanitized Branch Name
id: sanitized_branch_name
run: |
name=$(echo ${{ github.head_ref }} | sed -r 's/\//-/g')
name=$(echo $(git rev-parse --abbrev-ref HEAD) | sed -r 's/\//-/g')
echo "name=$name" >> $GITHUB_OUTPUT

0 comments on commit 65d0f72

Please sign in to comment.