Skip to content

Commit

Permalink
[issues-1315] - Fixing the GitHub workflow CI script in order to use …
Browse files Browse the repository at this point in the history
…a more recent version for the setup-minikube step
  • Loading branch information
fabiobrz committed Oct 13, 2024
1 parent 0886768 commit 283f322
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@ jobs:
# failsafe.groups configuration depends on the env setup.
FAILSAFE_GROUPS: ''
steps:
- name: Setup Minikube # add an if for the kubernetes target only?
uses: manusa/[email protected]
- name: Setup Minikube
if: ${{ matrix.target == 'kubernetes' }}
uses: manusa/[email protected]
with:
driver: docker
container runtime: containerd
Expand All @@ -36,6 +37,7 @@ jobs:
github token: ${{ secrets.GITHUB_TOKEN }}
start args: "--memory='4gb' --cpus='2'"
- name: Enable minikube registry
if: ${{ matrix.target == 'kubernetes' }}
run: |
minikube addons enable registry
kubectl port-forward --namespace kube-system service/registry 5000:80 &
Expand Down

0 comments on commit 283f322

Please sign in to comment.