Created
March 20, 2021 17:27
-
-
Save metaskills/bfa55083fd149b2aa836e3f7a90b2f2a to your computer and use it in GitHub Desktop.
Private GitHub ECR Action Abstract
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: Checkout (private actions) | |
uses: daspn/private-actions-checkout@v2 | |
with: | |
actions_list: '["myorg/create-ecr-repo@main"]' | |
ssh_private_key: ${{ secrets.MYORG_GITHUB_SSH_KEY }} | |
- name: ECR | |
uses: ./.github/actions/create-ecr-repo | |
with: | |
stage: ${{ github.event.inputs.stage }} | |
repo-name: myorg/myapp | |
aws-access-key-id: ${{ secrets.MYORG_ACCESS_KEY_ID }} | |
aws-secret-access-key: ${{ secrets.MYORG_SECRET_ACCESS_KEY }} | |
tags: '{"application":"myapp"}' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment