Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions .github/workflows/reusable_build_image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ jobs:
persist-credentials: false

- id: shard
uses: stackabletech/actions/shard@e8aed001d347bcf693e41b61f4098b0cb94b4ab6 # v0.18.0
uses: stackabletech/actions/shard@633678e4294785ad88ac706139e8691337eefab8 # v0.18.2
with:
product-name: ${{ inputs.product-name }}
outputs:
Expand All @@ -120,11 +120,11 @@ jobs:
persist-credentials: false

- name: Free Disk Space
uses: stackabletech/actions/free-disk-space@e8aed001d347bcf693e41b61f4098b0cb94b4ab6 # v0.18.0
uses: stackabletech/actions/free-disk-space@633678e4294785ad88ac706139e8691337eefab8 # v0.18.2

- name: Build Product Image
id: build
uses: stackabletech/actions/build-product-image@e8aed001d347bcf693e41b61f4098b0cb94b4ab6 # v0.18.0
uses: stackabletech/actions/build-product-image@633678e4294785ad88ac706139e8691337eefab8 # v0.18.2
with:
registry-namespace: ${{ inputs.registry-namespace }}
product-name: ${{ inputs.product-name }}
Expand All @@ -135,7 +135,7 @@ jobs:

- name: Publish Container Image on oci.stackable.tech
if: inputs.publish
uses: stackabletech/actions/publish-image@e8aed001d347bcf693e41b61f4098b0cb94b4ab6 # v0.18.0
uses: stackabletech/actions/publish-image@633678e4294785ad88ac706139e8691337eefab8 # v0.18.2
with:
image-registry-uri: oci.stackable.tech
image-registry-username: robot$${{ inputs.registry-namespace }}+github-action-build
Expand All @@ -152,7 +152,7 @@ jobs:

- name: Publish Container Image on quay.io
if: inputs.publish && inputs.publish-to-quay
uses: stackabletech/actions/publish-image@e8aed001d347bcf693e41b61f4098b0cb94b4ab6 # v0.18.0
uses: stackabletech/actions/publish-image@633678e4294785ad88ac706139e8691337eefab8 # v0.18.2
with:
image-registry-uri: quay.io
image-registry-username: stackable+robot_${{ inputs.registry-namespace }}_github_action_build
Expand Down Expand Up @@ -188,7 +188,7 @@ jobs:
# this should only be a stepping stone towards a more robust solution.
- name: Install boil
if: inputs.floating-tag
uses: stackabletech/actions/setup-tools@e8aed001d347bcf693e41b61f4098b0cb94b4ab6 # v0.18.0
uses: stackabletech/actions/setup-tools@633678e4294785ad88ac706139e8691337eefab8 # v0.18.2
with:
boil-version: latest

Expand All @@ -210,7 +210,7 @@ jobs:
- name: Publish and Sign Image Index Manifest to oci.stackable.tech
id: publish-oci
if: inputs.publish
uses: stackabletech/actions/publish-image-index-manifest@e8aed001d347bcf693e41b61f4098b0cb94b4ab6 # v0.18.0
uses: stackabletech/actions/publish-image-index-manifest@633678e4294785ad88ac706139e8691337eefab8 # v0.18.2
with:
image-registry-uri: oci.stackable.tech
image-registry-username: robot$${{ inputs.registry-namespace }}+github-action-build
Expand All @@ -227,7 +227,7 @@ jobs:
- name: Publish and Sign Image Index Manifest to quay.io
id: publish-quay
if: inputs.publish && inputs.publish-to-quay
uses: stackabletech/actions/publish-image-index-manifest@e8aed001d347bcf693e41b61f4098b0cb94b4ab6 # v0.18.0
uses: stackabletech/actions/publish-image-index-manifest@633678e4294785ad88ac706139e8691337eefab8 # v0.18.2
with:
image-registry-uri: quay.io
image-registry-username: stackable+robot_${{ inputs.registry-namespace }}_github_action_build
Expand All @@ -250,7 +250,7 @@ jobs:
if: failure() || (github.run_attempt > 1 && !cancelled())
steps:
- name: Send Notification
uses: stackabletech/actions/send-slack-notification@e8aed001d347bcf693e41b61f4098b0cb94b4ab6 # v0.18.0
uses: stackabletech/actions/send-slack-notification@633678e4294785ad88ac706139e8691337eefab8 # v0.18.2
with:
publish-manifests-result: ${{ needs.publish_manifests.result }}
build-result: ${{ needs.build.result }}
Expand Down
6 changes: 6 additions & 0 deletions java-devel/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,12 @@ EOF
ENV JAVA_HOME="/usr/lib/jvm/temurin-${PRODUCT_VERSION}-jdk"
ENV MAVEN_ARGS="--batch-mode --no-transfer-progress"

ARG GITHUB_RUN_ATTEMPT="<unknown>"
ENV GITHUB_RUN_ATTEMPT=${GITHUB_RUN_ATTEMPT}

ARG GITHUB_RUN_ID="<unknown>"
ENV GITHUB_RUN_ID=${GITHUB_RUN_ID}

COPY --chown=${STACKABLE_USER_UID}:0 java-devel/stackable/settings.xml /stackable/.m2/settings.xml
COPY --chown=${STACKABLE_USER_UID}:0 java-devel/stackable/settings.xml /root/.m2/settings.xml

Expand Down
3 changes: 3 additions & 0 deletions java-devel/stackable/settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@
the Azure networking.
-->
<!-- <aether.transport.http.reuseConnections>false</aether.transport.http.reuseConnections> -->

<aether.connector.userAgent>Maven (Workflow run id: ${env.GITHUB_RUN_ID}, Attempt: ${env.GITHUB_RUN_ATTEMPT})</aether.connector.userAgent>
<aether.transport.userAgent>Maven (Workflow run id: ${env.GITHUB_RUN_ID}, Attempt: ${env.GITHUB_RUN_ATTEMPT})</aether.transport.userAgent>
</properties>
</profile>
</profiles>
Expand Down
Loading