Skip to content

Commit

Permalink
feat: Adding download build artifact step (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmpalomares authored Nov 15, 2024
1 parent 0133188 commit 18abafb
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/build-and-push-image-to-ecr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ on:
description: The name of the application
required: true
type: string
artifact-name:
required: false
type: string
artifact-path:
required: false
type: string
secrets:
AWS_ACCESS_KEY_ID:
required: true
Expand All @@ -19,6 +25,12 @@ jobs:
steps:
- name: Checkout current git repository
uses: actions/checkout@v3
- name: Download build artifact
if: inputs.artifact-name != ''
uses: actions/download-artifact@v3
with:
name: ${{ inputs.artifact-name }}
path: ${{ inputs.artifact-path }}
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v2
with:
Expand Down

0 comments on commit 18abafb

Please sign in to comment.