Skip to content

Commit a1a1286

Browse files
authored
Merge pull request #9 from cupofpython/troubleshoot-eks
update logic
2 parents 9cf0b32 + a2d96f1 commit a1a1286

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/feature-branch.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ name: Feature branch workflow
22

33
on:
44
push:
5-
branches-ignore: [troubleshoot-eks]
5+
branches-ignore: [main]
66

77
jobs:
8-
build-and-push-feature:
8+
build-and-push-image:
99
uses: ./.github/workflows/build-and-push.yml
1010
with:
1111
IMAGE_TAG: $GITHUB_REF_NAME

.github/workflows/main-branch.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ jobs:
1616
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
1717

1818
deploy-to-eks:
19+
needs: build-and-push-image
1920
uses: ./.github/workflows/deploy-to-eks.yml
2021
with:
2122
IMAGE_TAG: $GITHUB_SHA

0 commit comments

Comments
 (0)