-
-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (24 loc) · 905 Bytes
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#---------------------------------------------------------
# - Setup AWS CLI environment using the secrets from this repo.
# - Try to create the AWS Elastic Container Registry repository
#---------------------------------------------------------
name: Test this action
on: workflow_dispatch
jobs:
build:
runs-on: ubuntu-latest
steps:
# required antecedent
- uses: actions/checkout@v4.1.1
# required antecedent
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ${{ secrets.AWS_REGION }}
# This action
- name: Use the action in this repo to create an AWS ECR repository
uses: ./
with:
aws-ecr-repository: openedx_test_repo