Skip to content

Commit

Permalink
Issue #3628: also build the devel images for otobo.nginx.dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
bschmalhofer committed Jul 30, 2024
1 parent 618c54a commit 447aeb9
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/docker_image_builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,26 @@ jobs:

# create different images
matrix:
target: [ 'otobo-web', 'otobo-elasticsearch', ]
target: [ 'otobo-web', 'otobo-elasticsearch', 'otobo-nginx-webproxy' ]
include:
- target: 'otobo-web'
-
target: 'otobo-web'
dockerfile: 'otobo.web.dockerfile'
context: '.'
tag_prefix: 'devel'
repository: 'rotheross/otobo'
- target: 'otobo-elasticsearch'
-
target: 'otobo-elasticsearch'
dockerfile: 'otobo.elasticsearch.dockerfile'
context: 'scripts/elasticsearch'
tag_prefix: 'devel'
repository: 'rotheross/otobo-elasticsearch'
-
target: 'otobo-ngingx-webproxy'
dockerfile: 'otobo.nginx.dockerfile'
context: 'scripts/nginx'
tag_prefix: 'devel'
repository: 'rotheross/otobo-nginx-webproxy'

steps:

Expand Down
1 change: 1 addition & 0 deletions hooks/build
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
TARGET_OPTION=$(case $DOCKERFILE_PATH in
"otobo.web.dockerfile") echo "--target=otobo-web" ;;
"otobo.elasticsearch.dockerfile") echo "--target=otobo-elasticsearch" ;;
"otobo.nginx.dockerfile") echo "--target=otobo-nginx-webproxy" ;;
*) echo "" ;;
esac)

Expand Down
2 changes: 1 addition & 1 deletion otobo.nginx.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

# Use the latest nginx.
# This image is based on Debian 10 (Buster). The User is root.
FROM nginx:mainline
FROM nginx:mainline AS otobo-nginx-webproxy

# install some required and optional Debian packages
# hadolint ignore=DL3008
Expand Down

0 comments on commit 447aeb9

Please sign in to comment.