Skip to content

Commit f71d027

Browse files
author
Cameron Wright
committed
Fixing github workflow to allow for -x
1 parent fc4f677 commit f71d027

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

‎.github/workflows/publish-kafka-docker.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ jobs:
5858
IMAGE_VERSION: ${{ steps.kafka_version.outputs.kafka_version }}
5959
run: |
6060
set -euo pipefail
61-
if [[ ! "$IMAGE_VERSION" =~ ^([0-9]+\.[0-9]+)-([0-9]+\.[0-9]+\.[0-9]+)(-jdk[0-9]+\.[0-9]+\.[0-9]+)?$ ]]; then
62-
echo "::error::Expected kafka-<scala>-<kafka>[-jdk<version>] release tag"
61+
if [[ ! "$IMAGE_VERSION" =~ ^([0-9]+\.[0-9]+)-([0-9]+\.[0-9]+\.[0-9]+)(-rc[0-9]+)?(-jdk[0-9]+\.[0-9]+\.[0-9]+)?$ ]]; then
62+
echo "::error::Expected kafka-<scala>-<kafka>[-rc<number>][-jdk<version>] release tag"
6363
exit 1
6464
fi
6565
TAG_SCALA="${BASH_REMATCH[1]}"

‎docker/jmx_exporter/Dockerfile‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
ARG JMX_EXPORTER_VERSION=1.7.0 # renovate: datasource=github-releases depName=prometheus/jmx_exporter
22

3-
FROM maven:3-amazoncorretto-21@sha256:f64fd4f0363c918004816d83d2589495b622a8d2fc5c5602c135cb4124c7ea12 AS build
3+
# The Java agent JAR is architecture-independent; compile and test without QEMU.
4+
FROM --platform=$BUILDPLATFORM maven:3-amazoncorretto-21@sha256:f64fd4f0363c918004816d83d2589495b622a8d2fc5c5602c135cb4124c7ea12 AS build
45
ARG JMX_EXPORTER_VERSION
56

67
# Install wget to download the release tarball

0 commit comments

Comments
 (0)