diff --git a/.github/workflows/reusable-copy-to-s3.yml b/.github/workflows/reusable-copy-to-s3.yml index 975d43c..cfde2cb 100644 --- a/.github/workflows/reusable-copy-to-s3.yml +++ b/.github/workflows/reusable-copy-to-s3.yml @@ -103,7 +103,7 @@ jobs: name: ${{ inputs.artifact-name }} path: ${{ inputs.artifact-path }} - name: Configure AWS Credentials - uses: aws-actions/configure-aws-credentials@976d0ba04bcc49ba2c0b4e86991eee80d35136c0 # v4.0.0 + uses: aws-actions/configure-aws-credentials@010d0da01d0b5a38af31e9c3470dbfdabdecca3a # v4.0.0 with: aws-region: ${{ inputs.aws-region }} role-to-assume: ${{ inputs.aws-role-arn-to-assume }} diff --git a/.github/workflows/reusable-docker-build.yml b/.github/workflows/reusable-docker-build.yml index 37892bf..c62ee74 100644 --- a/.github/workflows/reusable-docker-build.yml +++ b/.github/workflows/reusable-docker-build.yml @@ -278,7 +278,7 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} - name: Configure AWS Credentials if: ${{ inputs.push == true && inputs.aws-region != '' && inputs.aws-role-arn-to-assume != '' && inputs.aws-role-duration-seconds != '' && steps.get-session-name.outputs.session-name != '' && inputs.registryOverride != '' }} - uses: aws-actions/configure-aws-credentials@976d0ba04bcc49ba2c0b4e86991eee80d35136c0 # v4.0.0 + uses: aws-actions/configure-aws-credentials@010d0da01d0b5a38af31e9c3470dbfdabdecca3a # v4.0.1 with: aws-region: ${{ inputs.aws-region }} role-to-assume: ${{ inputs.aws-role-arn-to-assume }} @@ -300,7 +300,6 @@ jobs: with: name: ${{ inputs.artifact-name }} path: ${{ inputs.artifact-path }} - retention-days: 1 - name: Build if: ${{ inputs.push == false }} uses: docker/build-push-action@0565240e2d4ab88bba5387d719585280857ece09 # v5.0.0 diff --git a/.github/workflows/reusable-ko-build.yml b/.github/workflows/reusable-ko-build.yml index 8d93acc..3b37560 100644 --- a/.github/workflows/reusable-ko-build.yml +++ b/.github/workflows/reusable-ko-build.yml @@ -126,7 +126,7 @@ jobs: echo "session-name=$SESSION_NAME" >> $GITHUB_OUTPUT - name: Configure AWS Credentials if: ${{ inputs.push == true && inputs.aws-region != '' && inputs.aws-role-arn-to-assume != '' && inputs.aws-role-duration-seconds != '' && steps.get-session-name.outputs.session-name != '' && inputs.registryOverride != '' }} - uses: aws-actions/configure-aws-credentials@976d0ba04bcc49ba2c0b4e86991eee80d35136c0 # v4.0.0 + uses: aws-actions/configure-aws-credentials@010d0da01d0b5a38af31e9c3470dbfdabdecca3a # v4.0.1 with: aws-region: ${{ inputs.aws-region }} role-to-assume: ${{ inputs.aws-role-arn-to-assume }}