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 68d6ccfaf Update create-release-candidate.yml (CONNECTORS-1754)
68d6ccfaf is described below
commit 68d6ccfaf539a831c2db7d92ba9d95c329470094
Author: Piergiorgio Lucidi <[email protected]>
AuthorDate: Tue Jun 18 11:10:01 2024 +0200
Update create-release-candidate.yml (CONNECTORS-1754)
---
.github/workflows/create-release-candidate.yml | 25 ++++++++++++++++++++-----
1 file changed, 20 insertions(+), 5 deletions(-)
diff --git a/.github/workflows/create-release-candidate.yml
b/.github/workflows/create-release-candidate.yml
index da6d6d639..fe11ee635 100644
--- a/.github/workflows/create-release-candidate.yml
+++ b/.github/workflows/create-release-candidate.yml
@@ -16,7 +16,7 @@
# under the License.
name: Create Release Candidate
-run-name: ${{ github.actor }} is executing Create Release Branch
+run-name: ${{ github.actor }} is executing Create Release Candidate
permissions:
contents: write
@@ -34,7 +34,10 @@ jobs:
steps:
- name: Init Release Candidate workflow
run: echo "Starting Apache ManifoldCF workflow for building ${{
github.event.inputs.releasecandidatetag }}"
- - uses: actions/[email protected]
+
+ - name: Checkout
+ uses: actions/[email protected]
+
- name: Set up OpenJDK 11 Temurin x64
uses: actions/[email protected]
with:
@@ -102,7 +105,7 @@ jobs:
run: |
find . -name 'pom.xml' -exec git add {} \;
git add CHANGES.txt build.xml
- git commit -am "New branch for release candidate ${{
steps.branchTag.outputs.tag }} created"
+ git commit -am "Create ${{ github.event.inputs.releasecandidatetag
}} tag for MCF ${{ steps.mavenProjectVersion.outputs.version }}"
git push
- name: Create Release Candidate
@@ -272,12 +275,24 @@ jobs:
uses: docker/[email protected]
with:
images: apache/manifoldcf
-
+ labels: |
+ maintainer=Apache ManifoldCF Developers
<[email protected]>
+ org.opencontainers.image.title=Apache ManifoldCF
+ org.opencontainers.image.description=Apache ManifoldCF is a
multi-repository crawler framework, with multiple connectors.
+ org.opencontainers.image.vendor=Apache Software Foundation
+ org.opencontainers.image.ref.name=manifoldcf
+ org.opencontainers.image.authors=Apache ManifoldCF Developers
<[email protected]>
+
org.opencontainers.image.url=https://hub.docker.com/r/apache/manifoldcf
+
org.opencontainers.image.source=https://github.com/apache/manifoldcf/blob/trunk/Dockerfile
+
org.opencontainers.image.documentation=https://hub.docker.com/r/apache/manifoldcf
+ org.opencontainers.image.version=${{ steps.branchTag.outputs.tag }}
+ org.opencontainers.image.licenses=Apache-2.0
+
- name: Update Docker Image tag
run: sed -i 's/SNAPSHOT/${{ github.event.inputs.releasecandidatetag
}}/g' Dockerfile;
- name: Build and push ManifoldCF Docker Image
- uses: docker/[email protected]
+ uses: docker/[email protected]
with:
context: .
file: Dockerfile