Skip to content

Commit

Permalink
Build native image with --march=compatibility.
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartcaunt committed Dec 11, 2024
1 parent 2b5f250 commit cd75fc3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
tags: ${{ steps.meta.outputs.tags }}

- name: Trigger external deploy pipeline
if: success()
if: success() && github.ref == 'refs/heads/dev'
run: |
if [ -z "${{ secrets.DEPLOY_PIPELINE_URL }}" ]; then
echo "Error: DEPLOY_PIPELINE_URL is not set"
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/docker-native-image.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build and push docker image
name: Build and push docker native image

on:
push:
Expand Down Expand Up @@ -46,10 +46,10 @@ jobs:
tags: ${{ steps.meta.outputs.tags }}

- name: Trigger external deploy pipeline
if: success()
if: success() && github.ref == 'refs/heads/dev'
run: |
if [ -z "${{ secrets.DEPLOY_PIPELINE_URL }}" ]; then
if [ -z "${{ secrets.DEPLOY_PIPELINE_NATIVE_URL }}" ]; then
echo "Error: DEPLOY_PIPELINE_URL is not set"
else
curl -X POST "${{ secrets.DEPLOY_PIPELINE_URL }}"
curl -X POST "${{ secrets.DEPLOY_PIPELINE_NATIVE_URL }}"
fi
1 change: 1 addition & 0 deletions visa-core/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ quarkus:
includes: images/thumbnail.jpg,fixtures/**.sql,words/**.txt,emails/templates/**.twig
additional-build-args:
- --initialize-at-run-time=eu.ill.visa.business.services.InstanceNameGeneratorService,zmq.util.Utils
- --march=compatibility
security:
security-providers: BC
log:
Expand Down

0 comments on commit cd75fc3

Please sign in to comment.