Skip to content

Commit 2ed7a30

Browse files
committed
must be top-level
1 parent 6a468bc commit 2ed7a30

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/release.yaml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,14 @@ permissions:
1212
contents: read
1313

1414
jobs:
15+
build:
16+
uses: crenshaw-dev/argocd-executor-plugin/.github/workflows/build.yaml@main
17+
with:
18+
tag: ${{ github.event.inputs.tag }}
19+
secrets:
20+
DOCKERHUB_PASSWORD: ${{ github.event.secrets.DOCKERHUB_PASSWORD }}
1521
prepare-release:
22+
needs: build
1623
permissions:
1724
contents: write # To push changes to release branch
1825
name: Release
@@ -23,12 +30,6 @@ jobs:
2330
GIT_EMAIL: [email protected]
2431
RELEASE_TAG: ${{ github.event.inputs.tag }}
2532
steps:
26-
- uses: crenshaw-dev/argocd-executor-plugin/.github/workflows/build.yaml@main
27-
with:
28-
tag: ${{ github.event.inputs.tag }}
29-
secrets:
30-
DOCKERHUB_PASSWORD: ${{ github.event.secrets.DOCKERHUB_PASSWORD }}
31-
if: github.repository == 'crenshaw-dev/argocd-executor-plugin'
3233
- name: Checkout code
3334
uses: actions/checkout@v3
3435
with:

0 commit comments

Comments
 (0)