Skip to content

Commit

Permalink
Add gitref-sha to environment (#17)
Browse files Browse the repository at this point in the history
Make gitref sha available to the build & deploy action
  • Loading branch information
ozydingo authored Nov 15, 2022
1 parent d8b2e0f commit f9e3d94
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ inputs:
description: Helmfile environment
required: false
default: preview
gitref-sha:
description: Git SHA
required: false
default: ''
namespace:
description: Kubernetes namespace
required: true
Expand Down Expand Up @@ -56,5 +60,6 @@ runs:
IMAGE_NAME: ${{ inputs.image }}
IMAGE_TAG: ${{ inputs.image-tag }}
OPERATION: ${{ inputs.operation }}
GITREF_SHA: ${{ inputs.gitref-sha }}
CLUSTER_NAME: ${{ inputs.cluster }}
HELM_DEBUG: ${{ inputs.debug }}

0 comments on commit f9e3d94

Please sign in to comment.