File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 2020 description : ' Docker image tag to deploy'
2121 required : true
2222 default : ' latest'
23+ repository_owner :
24+ description : ' GitHub repository owner (organization or user)'
25+ required : false
26+ default : ' GerardPaligot'
2327 workflow_run :
2428 workflows : ["Build and Push Backend Container"]
2529 types :
@@ -53,14 +57,17 @@ jobs:
5357 if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then
5458 echo "environment=${{ inputs.environment }}" >> $GITHUB_OUTPUT
5559 echo "image_tag=${{ inputs.image_tag }}" >> $GITHUB_OUTPUT
60+ echo "REPO_OWNER=${{ inputs.repository_owner }}"
61+ echo "repository_owner=${REPO_OWNER,,}" >> $GITHUB_OUTPUT
5662 elif [ "${{ github.event_name }}" = "push" ]; then
5763 echo "environment=production" >> $GITHUB_OUTPUT
5864 echo "image_tag=${{ github.ref_name }}" >> $GITHUB_OUTPUT
65+ echo "repository_owner=${GITHUB_REPO_OWNER,,}" >> $GITHUB_OUTPUT
5966 elif [ "${{ github.event_name }}" = "workflow_run" ]; then
6067 echo "environment=preprod" >> $GITHUB_OUTPUT
6168 echo "image_tag=latest" >> $GITHUB_OUTPUT
69+ echo "repository_owner=${GITHUB_REPO_OWNER,,}" >> $GITHUB_OUTPUT
6270 fi
63- echo "repository_owner=${GITHUB_REPO_OWNER,,}" >> $GITHUB_OUTPUT
6471
6572 - name : Set Clever Cloud App ID
6673 id : app
You can’t perform that action at this time.
0 commit comments