Skip to content

Commit

Permalink
Change workflow implementation to use different files for each step
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcus Sanchez committed Sep 27, 2024
1 parent afe60d1 commit 9cba82b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/build-steps.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
name: Build and Push to ECR Steps

on:
workflow_call:
secrets: inherit

jobs:
build:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -33,7 +29,7 @@ jobs:
run: |
aws ecr describe-repositories --repository-names ${{ secrets.ECR_REPOSITORY }} --region ${{ secrets.AWS_REGION }} || aws ecr create-repository --repository-name ${{ secrets.ECR_REPOSITORY }} --region ${{ secrets.AWS_REGION }}
- name: Set up Docker Build
- name: Set up Docker Build|
uses: docker/setup-buildx-action@v3

- name: Log in to Amazon ECR
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/deploy-steps.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
name: Deploy to EKS Steps

on:
workflow_call:
secrets: inherit

jobs:
deploy:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 9cba82b

Please sign in to comment.