diff --git a/.github/workflows/conda_env.yml b/.github/workflows/conda_env.yml index 50f4259..f62d75e 100644 --- a/.github/workflows/conda_env.yml +++ b/.github/workflows/conda_env.yml @@ -4,6 +4,7 @@ on: push: branches: - master + permissions: id-token: write @@ -15,7 +16,7 @@ jobs: env: AWS_DEFAULT_REGION: eu-west-1 container: - image: amazonlinux:2 + image: amazonlinux:2023 steps: - name: Install tar (for code checkout) run: yum install -y tar gzip @@ -68,4 +69,4 @@ jobs: DATE=$(date +%Y-%m-%d-%H-%S) BRANCH=${GITHUB_REF#refs/heads/} BRANCH=${BRANCH//\//_} # Replace / with _ in branch name - aws s3 cp $HOME/pheno.tar.gz "s3://pheno-ds-github-cicd-${{ env.AWS_DEFAULT_REGION }}/conda_envs/${BRANCH}_${DATE}.tar.gz" + aws s3 cp $HOME/pheno.tar.gz "s3://pheno-ds-github-cicd-${{ env.AWS_DEFAULT_REGION }}/conda_envs/${BRANCH}_${DATE}.tar.gz" \ No newline at end of file