File tree Expand file tree Collapse file tree 1 file changed +18
-3
lines changed
Expand file tree Collapse file tree 1 file changed +18
-3
lines changed Original file line number Diff line number Diff line change 2323 type : string
2424 required : false
2525 default : ' '
26+ s_three_folder :
27+ type : string
28+ required : false
29+ default : ' '
2630 go_version_file :
2731 type : string
2832 required : false
4953 use_custom_release :
5054 type : boolean
5155 required : true
56+ setup_aws_creds :
57+ type : boolean
58+ required : false
59+ default : false
5260
5361 secrets :
5462 docker_username :
7078 REPO_FULL_NAME : ${{ github.event.repository.full_name }}
7179 INTEGRATION : ${{ inputs.integration_name }}
7280 S3_PATH : ${{ inputs.s_three_path }}
81+ S3_BASE_FOLDER : ${{ inputs.s_three_folder }}
7382
7483jobs :
7584 test-nix :
@@ -158,6 +167,14 @@ jobs:
158167 run : |
159168 TAG_WITHOUT_V=$(echo "${{ env.TAG }}" | sed 's/^v//')
160169 echo "VERSION=$TAG_WITHOUT_V" >> $GITHUB_ENV
170+
171+ - name : Setup AWS credentials
172+ if : ${{ inputs.setup_aws_creds }}
173+ uses : aws-actions/configure-aws-credentials@v4
174+ with :
175+ aws-access-key-id : ${{ secrets.COREINT_AWS_ACCESS_KEY_ID }}
176+ aws-secret-access-key : ${{ secrets.COREINT_AWS_SECRET_ACCESS_KEY }}
177+ aws-region : us-east-1
161178
162179 - name : Build and push versioned docker image
163180 if : ${{ inputs.use_build_push_action }}
@@ -192,9 +209,7 @@ jobs:
192209 env :
193210 GH_TOKEN : " ${{ secrets.bot_token }}"
194211 run : |
195- gh release edit ${{ github.event.release.tag_name }} --title "${{ github.event.release.tag_name }}"
196-
197-
212+ gh release edit ${{ github.event.release.tag_name }} --title "${{ github.event.release.tag_name }}"
198213
199214 notify-failure :
200215 if : ${{ always() && failure() }}
You can’t perform that action at this time.
0 commit comments