This is an automated email from the ASF dual-hosted git repository.
piergiorgio pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/manifoldcf.git
The following commit(s) were added to refs/heads/trunk by this push:
new cd301e6bb Preparing 2.28 release for the Docker Image for GA version
cd301e6bb is described below
commit cd301e6bbc15be80ca54ab4b77e12531194438f1
Author: Piergiorgio Lucidi <[email protected]>
AuthorDate: Sat Dec 21 20:40:51 2024 +0100
Preparing 2.28 release for the Docker Image for GA version
---
.github/workflows/create-docker-image.yml | 21 ++++++++++++---------
1 file changed, 12 insertions(+), 9 deletions(-)
diff --git a/.github/workflows/create-docker-image.yml
b/.github/workflows/create-docker-image.yml
index 07b4e2529..0e71d6378 100644
--- a/.github/workflows/create-docker-image.yml
+++ b/.github/workflows/create-docker-image.yml
@@ -25,6 +25,7 @@ on:
type: choice
description: Select the ManifoldCF release
options:
+ - 2.28-jDK-11
- 2.27-JDK-11
- 2.26-JDK-11 #Java 11
- 2.25-JDK-8
@@ -58,6 +59,7 @@ on:
jobs:
createDockerImageBuildingFromSourceCode:
if: |
+ (github.event.inputs.release != '2.28-JDK-11') &&
(github.event.inputs.release != '2.27-JDK-11') &&
(github.event.inputs.release != '2.26-JDK-11') &&
(github.event.inputs.release != '2.25-JDK-8') &&
@@ -81,12 +83,12 @@ jobs:
echo "version=${1##*-}" >> $GITHUB_OUTPUT
- name: Checkout for legacy versions of ManifoldCF
- uses: actions/[email protected]
+ uses: actions/[email protected]
with:
ref: release-${{ steps.mcf.outputs.release }}
- name: Set up OpenJDK ${{ steps.jdk.outputs.version }} Temurin x64
- uses: actions/[email protected]
+ uses: actions/[email protected]
with:
java-version: '${{ steps.jdk.outputs.version }}'
distribution: 'temurin'
@@ -110,7 +112,7 @@ jobs:
uses: docker/[email protected]
- name: Set up Docker Buildx
- uses: docker/[email protected]
+ uses: docker/[email protected]
- name: Login to Docker Hub
uses: docker/[email protected]
@@ -120,7 +122,7 @@ jobs:
- name: Docker meta
id: meta
- uses: docker/[email protected]
+ uses: docker/[email protected]
with:
images: apache/manifoldcf
labels: |
@@ -150,6 +152,7 @@ jobs:
createDockerImageForAvailableDistributionPackage:
if: |
+ (github.event.inputs.release == '2.28-JDK-11') ||
(github.event.inputs.release == '2.27-JDK-11') ||
(github.event.inputs.release == '2.26-JDK-11') ||
(github.event.inputs.release == '2.25-JDK-8') ||
@@ -174,7 +177,7 @@ jobs:
echo "version=${1##*-}" >> $GITHUB_OUTPUT
- name: Checkout the specific Dockerfile
- uses: actions/[email protected]
+ uses: actions/[email protected]
with:
sparse-checkout: |
src/main/docker/JDK-${{ steps.jdk.outputs.version }}/Dockerfile
@@ -189,7 +192,7 @@ jobs:
run: |
wget -q https://dlcdn.apache.org/manifoldcf/apache-manifoldcf-${{
steps.mcf.outputs.release }}/apache-manifoldcf-${{ steps.mcf.outputs.release
}}-bin.tar.gz && \
tar -xzvf apache-manifoldcf-${{ steps.mcf.outputs.release
}}-bin.tar.gz && \
- mv apache-manifoldcf-${{ steps.mcf.outputs.release }}-dev dist && \
+ mv apache-manifoldcf-${{ steps.mcf.outputs.release }} dist && \
rm apache-manifoldcf-${{ steps.mcf.outputs.release }}-bin.tar.gz
- name: Update MCF version in the properties.xml files
@@ -201,7 +204,7 @@ jobs:
uses: docker/[email protected]
- name: Set up Docker Buildx
- uses: docker/[email protected]
+ uses: docker/[email protected]
- name: Login to Docker Hub
uses: docker/[email protected]
@@ -211,7 +214,7 @@ jobs:
- name: Docker meta
id: meta
- uses: docker/[email protected]
+ uses: docker/[email protected]
with:
images: apache/manifoldcf
labels: |
@@ -228,7 +231,7 @@ jobs:
org.opencontainers.image.licenses=Apache-2.0
- name: Build and push ManifoldCF Docker Image
- uses: docker/[email protected]
+ uses: docker/[email protected]
with:
context: .
file: Dockerfile