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

Commit

Permalink
chore: add commit to manually published image tag
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubhava committed Sep 9, 2024
1 parent f67b80e commit 04519a8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/manual-image-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,12 @@ jobs:

publish_from_branch:
uses: ./.github/workflows/image-publish.yml
needs: build_from_branch
needs:
- setup_env
- build_from_branch
secrets: inherit
with:
gar_push_enabled: true
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 }}"
image_tags: "${{ needs.setup_env.outputs.sanitized_branch_name }}-${{ needs.setup_env.outputs.commit_hash }}"
1 change: 1 addition & 0 deletions .github/workflows/setup-environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ jobs:
run: |
if ${{ github.event_name == 'pull_request' }}; then echo "sha=${{ github.event.pull_request.head.sha }}" >> $GITHUB_OUTPUT; fi
if ${{ github.event_name == 'push' }}; then echo "sha=${{ github.sha }}" >> $GITHUB_OUTPUT; fi
if ${{ github.event_name == 'workflow_dispatch' }}; then echo "sha=$(git rev-parse --short=7 ${{ github.ref }})" >> $GITHUB_OUTPUT; fi
- name: Save Github Release Base Version
id: release_base_version
Expand Down

0 comments on commit 04519a8

Please sign in to comment.