Skip to content

Commit

Permalink
Merge pull request #164 from wultra/issues/selective-build
Browse files Browse the repository at this point in the history
Add option to choose which products to build and push, update tomcats
  • Loading branch information
korbelm authored Aug 7, 2024
2 parents 15140f9 + 67272ea commit 6a28df2
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 7 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/publish-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ on:
description: Application release version e.g. 1.0.0
type: string
required: true
products_to_push:
description: Array of product names for which build will be done.
type: string
default: '["server","data-adapter","nextstep","push-server","webflow","tpp-engine"]'
required: true
push_to_acr:
description: Push to Azure registry?
type: boolean
Expand All @@ -20,12 +25,13 @@ on:
type: boolean
default: false


jobs:
build-app:
name: app image
strategy:
matrix:
app: ["server","data-adapter","nextstep","push-server","webflow","tpp-engine"]
app: ${{ fromJSON(github.event.inputs.products_to_push)}}
runs-on: 'ubuntu-latest'
environment: docker-publish
steps:
Expand Down
2 changes: 1 addition & 1 deletion docker-powerauth-data-adapter/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM tomcat:10.1.18-jre17-temurin-jammy@sha256:72c0b86b3f9b9d2a2d763be9ac8f13f03aec99be5a2122c63e4edf0dd93f8904
FROM tomcat:10.1.25-jre21-temurin-jammy@sha256:e13c51d8cc4c4d24027a093997a23d58ae50cb8e8d72631ae1f583cc12c75243
LABEL maintainer="[email protected]"

# Prepare environment variables
Expand Down
2 changes: 1 addition & 1 deletion docker-powerauth-nextstep/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM tomcat:10.1.18-jre17-temurin-jammy@sha256:72c0b86b3f9b9d2a2d763be9ac8f13f03aec99be5a2122c63e4edf0dd93f8904
FROM tomcat:10.1.25-jre21-temurin-jammy@sha256:e13c51d8cc4c4d24027a093997a23d58ae50cb8e8d72631ae1f583cc12c75243
LABEL maintainer="[email protected]"

# Prepare environment variables
Expand Down
2 changes: 1 addition & 1 deletion docker-powerauth-push-server/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM tomcat:10.1.18-jre17-temurin-jammy@sha256:72c0b86b3f9b9d2a2d763be9ac8f13f03aec99be5a2122c63e4edf0dd93f8904
FROM tomcat:10.1.25-jre21-temurin-jammy@sha256:e13c51d8cc4c4d24027a093997a23d58ae50cb8e8d72631ae1f583cc12c75243
LABEL maintainer="[email protected]"

# Prepare environment variables
Expand Down
2 changes: 1 addition & 1 deletion docker-powerauth-server/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM tomcat:10.1.18-jre17-temurin-jammy@sha256:72c0b86b3f9b9d2a2d763be9ac8f13f03aec99be5a2122c63e4edf0dd93f8904
FROM tomcat:10.1.25-jre21-temurin-jammy@sha256:e13c51d8cc4c4d24027a093997a23d58ae50cb8e8d72631ae1f583cc12c75243
LABEL maintainer="[email protected]"

# Prepare environment variables
Expand Down
2 changes: 1 addition & 1 deletion docker-powerauth-tpp-engine/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM tomcat:10.1.18-jre17-temurin-jammy@sha256:72c0b86b3f9b9d2a2d763be9ac8f13f03aec99be5a2122c63e4edf0dd93f8904
FROM tomcat:10.1.25-jre21-temurin-jammy@sha256:e13c51d8cc4c4d24027a093997a23d58ae50cb8e8d72631ae1f583cc12c75243
LABEL maintainer="[email protected]"

# Prepare environment variables
Expand Down
2 changes: 1 addition & 1 deletion docker-powerauth-webflow/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM tomcat:10.1.18-jre17-temurin-jammy@sha256:72c0b86b3f9b9d2a2d763be9ac8f13f03aec99be5a2122c63e4edf0dd93f8904
FROM tomcat:10.1.25-jre21-temurin-jammy@sha256:e13c51d8cc4c4d24027a093997a23d58ae50cb8e8d72631ae1f583cc12c75243
LABEL maintainer="[email protected]"

# Prepare environment variables
Expand Down

0 comments on commit 6a28df2

Please sign in to comment.