Skip to content

Commit

Permalink
fix released K8s resource path, generate before pushing tag (#1001)
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Edgar <[email protected]>
  • Loading branch information
MikeEdgar authored Aug 28, 2024
1 parent b502478 commit 834ff69
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,14 @@ jobs:
${{ secrets.IMAGE_REPO_HOSTNAME }}/${{ secrets.IMAGE_REPO_NAMESPACE }}/console-ui:${{steps.metadata.outputs.current-version}}
${{ secrets.IMAGE_REPO_HOSTNAME }}/${{ secrets.IMAGE_REPO_NAMESPACE }}/console-ui:latest
- name: Prepare Operator Resources
run: |
RELEASE_K8S_PATH='target/checkout/operator/target/kubernetes'
cat ${RELEASE_K8S_PATH}/consoles.console.streamshub.github.com-v1.yml \
${RELEASE_K8S_PATH}/kubernetes.yml \
> target/console-operator-${{ steps.metadata.outputs.current-version }}.yaml
- name: Push Release Tag
run: |
git push
Expand All @@ -137,14 +145,6 @@ jobs:
milestone-title: ${{steps.metadata.outputs.current-version}}
milestone-next: ${{steps.metadata.outputs.next-version}}

- name: Prepare Operator Resources
run: |
RELEASE_K8S_PATH='console/target/checkout/operator/target/kubernetes'
cat ${RELEASE_K8S_PATH}/consoles.console.streamshub.github.com-v1.yml \
${RELEASE_K8S_PATH}/kubernetes.yml \
> target/console-operator-${{ steps.metadata.outputs.current-version }}.yaml
- uses: meeDamian/[email protected]
name: Attach Operator Resources to Release
with:
Expand Down

0 comments on commit 834ff69

Please sign in to comment.