Skip to content

Commit

Permalink
adding ecs true
Browse files Browse the repository at this point in the history
  • Loading branch information
arnol377 committed Jan 24, 2025
1 parent f2ec33c commit 42436ba
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions workflows/s3_upload.yaml.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: [ ${runner_group} ]
runs-on: [ "${runner_group}" ]

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
Expand All @@ -29,11 +29,13 @@ jobs:
- name: AWS Auth
id: aws_auth
uses: CSVD/aws-auth@main
with:
ecs: true

- run: |
zip -r ${repo_name}.zip *
aws s3 cp ${repo_name}.zip s3://${bucket_name}
env:
AWS_ACCESS_KEY_ID: ${{ steps.aws_auth.outputs.aws_access_key_id }}
AWS_SECRET_ACCESS_KEY: ${{ steps.aws_auth.outputs.aws_secret_access_key }}
AWS_SESSION_TOKEN: ${{ steps.aws_auth.outputs.aws_session_token }}
AWS_ACCESS_KEY_ID: $${{ steps.aws_auth.outputs.aws_access_key_id }}
AWS_SECRET_ACCESS_KEY: $${{ steps.aws_auth.outputs.aws_secret_access_key }}
AWS_SESSION_TOKEN: $${{ steps.aws_auth.outputs.aws_session_token }}

0 comments on commit 42436ba

Please sign in to comment.