Skip to content

Commit

Permalink
OK-567 Fix ovara-suoritusrekisteri image handling
Browse files Browse the repository at this point in the history
  • Loading branch information
msiukola committed Jul 1, 2024
1 parent 9bcff40 commit 47a0711
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,15 +81,17 @@ jobs:
jar xf $DOCKER_BUILD_DIR/artifact/suoritusrekisteri.jar META-INF/native
mv META-INF/native $DOCKER_BUILD_DIR/native_libs
cp -vr suoritusrekisteri/src/main/resources/* $DOCKER_BUILD_DIR/config/
export BASE_IMAGE="baseimage-fatjar-openjdk11:master"
./ci-tools/common/pull-image.sh
./ci-tools/github-build/build-fatjar.sh suoritusrekisteri
./ci-tools/github-build/upload-image.sh suoritusrekisteri
./ci-tools/common/clean-docker-build-dir.sh
mv ovara-suoritusrekisteri/target/ovara-suoritusrekisteri*jar-with-dependencies.jar $DOCKER_BUILD_DIR/artifact/ovara-suoritusrekisteri.jar
jar xf $DOCKER_BUILD_DIR/artifact/ovara-suoritusrekisteri.jar META-INF/native
mv META-INF/native $DOCKER_BUILD_DIR/native_libs
cp -vr ovara-suoritusrekisteri/src/main/resources/* $DOCKER_BUILD_DIR/config/
export BASE_IMAGE="baseimage-fatjar-openjdk11:master"
./ci-tools/common/pull-image.sh
./ci-tools/github-build/build-fatjar.sh suoritusrekisteri
./ci-tools/github-build/upload-image.sh suoritusrekisteri
./ci-tools/common/pull-image.sh
./ci-tools/github-build/build-fatjar.sh ovara-suoritusrekisteri
./ci-tools/github-build/upload-image.sh ovara-suoritusrekisteri

0 comments on commit 47a0711

Please sign in to comment.