Skip to content

Commit

Permalink
Fixing filter and removing for GRPC atm
Browse files Browse the repository at this point in the history
Signed-off-by: Laurent Broudoux <laurent.broudoux@gmail.com>
  • Loading branch information
lbroudoux committed Jun 12, 2024
1 parent 1afa491 commit 1a11aa1
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/build-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,22 +29,22 @@ jobs:
- 'grpc-hello-world-demo/**'
- name: Set up QEMU
if: github.repository_owner == 'microcks' && steps.changes.outputs.grpc-hello-world == 'true'
#if: github.repository_owner == 'microcks' && steps.changes.outputs.grpc-hello-world == 'true'
uses: docker/setup-qemu-action@v2

- name: Set up Docker Buildx
if: github.repository_owner == 'microcks' && steps.changes.outputs.grpc-hello-world == 'true'
#if: github.repository_owner == 'microcks' && steps.changes.outputs.grpc-hello-world == 'true'
uses: docker/setup-buildx-action@v2

- name: Login to Quay.io Registry and setup multi-arch builder
if: github.repository_owner == 'microcks' && steps.changes.outputs.grpc-hello-world == 'true'
#if: github.repository_owner == 'microcks' && steps.changes.outputs.grpc-hello-world == 'true'
run: |
echo ${{ secrets.QUAY_PASSWORD }} | docker login -u ${{ secrets.QUAY_USERNAME }} --password-stdin quay.io
BUILDER=buildx-multi-arch
docker buildx inspect $BUILDER || docker buildx create --name=$BUILDER --driver=docker-container --driver-opt=network=host
- name: Build and push container image
if: github.repository_owner == 'microcks' && steps.changes.outputs.grpc-hello-world == 'true'
#if: github.repository_owner == 'microcks' && steps.changes.outputs.grpc-hello-world == 'true'
run: |
cd grpc-hello-world-demo
mvn -B package -Pnative -Dquarkus.native.container-build=true
Expand Down Expand Up @@ -180,6 +180,7 @@ jobs:
- 'shift-left-demo/spring-boot-order-service-devtools/**'
- name: Set up JDK 17 for x64
if: github.repository_owner == 'microcks' && steps.changes.outputs.shift-left-demo-sb == 'true'
uses: actions/setup-java@v3
with:
java-version: '17'
Expand All @@ -188,6 +189,7 @@ jobs:
cache: maven

- name: Build Java components
if: github.repository_owner == 'microcks' && steps.changes.outputs.shift-left-demo-sb == 'true'
run: |
cd shift-left-demo/spring-boot-order-service-devtools
mvn -B clean package

0 comments on commit 1a11aa1

Please sign in to comment.