Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sandhya1874 committed Oct 8, 2024
1 parent 8b6afff commit 42531f2
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,14 @@ inputs:
description: Docker registry token
required: false
type: string

git_head_ref:
description: Github source branch ref
required: false
type: string
git_branch_ref:
description: Github branch name
required: false
type: string
# secrets:
# HMPPS_QUAYIO_USER:
# required: false
Expand Down Expand Up @@ -72,8 +79,8 @@ runs:
provenance: false
build-args: |
"BUILD_NUMBER=${{ inputs.app_version }}"
"GIT_REF=${{ github.head_ref }}"
"GIT_BRANCH=${{ github.ref_name }}"
"GIT_REF=${{ inputs.git_head_ref }}"
"GIT_BRANCH=${{ inputs.git_branch_ref }}"
tags: |
${{ inputs.docker_registry}}/${{ inputs.registry_org }}/${{ github.event.repository.name }}:latest
${{ inputs.docker_registry}}/${{ inputs.registry_org }}/${{ github.event.repository.name }}:${{ inputs.app_version }}
2 changes: 2 additions & 0 deletions .github/workflows/build_multiplatform_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ jobs:
app_version: ${{ needs.create_app_version.outputs.version }}
HMPPS_QUAYIO_USER: ${{ secrets.HMPPS_QUAYIO_USER }}
HMPPS_QUAYIO_TOKEN: ${{ secrets.HMPPS_QUAYIO_TOKEN}}
git_head_ref: ${{ github.head_ref }}
git_branch_ref: ${{ github.ref_name }}



0 comments on commit 42531f2

Please sign in to comment.