Skip to content

Commit

Permalink
Update github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ushkarev committed Sep 5, 2023
1 parent 6e75dd3 commit 6c2a763
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/actions/clean-ecr/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# generated by https://github.com/ministryofjustice/money-to-prisoners-deploy
FROM python:3-alpine
COPY entrypoint.py /usr/local/bin/clean-ecr
RUN set -ex && \
RUN set -eux; \
chmod +x /usr/local/bin/clean-ecr \
&& \
pip install --upgrade setuptools pip wheel \
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/clean-ecr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ jobs:
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: main

- name: Assume IAM role to access ECR
uses: aws-actions/configure-aws-credentials@v2
uses: aws-actions/configure-aws-credentials@v3
with:
aws-region: ${{ vars.ECR_REGION }}
role-to-assume: ${{ secrets.ECR_ROLE_TO_ASSUME }}
Expand Down

0 comments on commit 6c2a763

Please sign in to comment.