Skip to content

Commit 28e8dee

Browse files
authored
fix: bad actions workflow
1 parent 5834539 commit 28e8dee

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

.github/workflows/dockerimage.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
11
name: Test Docker image
22

3-
on:
4-
push:
5-
branches:
6-
- master
7-
pull_request:
8-
workflow_dispatch:
9-
103
jobs:
114
build:
125
runs-on: ubuntu-latest
@@ -23,9 +16,9 @@ jobs:
2316
run: |
2417
VARIANT_PATH="${{ matrix.variant == 'alpine' && '/alpine' || '' }}"
2518
IMAGE_PATH="${{ matrix.java-version }}/${{ matrix.java-type }}/${{ matrix.node-version }}${VARIANT_PATH}"
26-
2719
VARIANT_LABEL="${{ matrix.variant == 'alpine' && ' alpine' || '' }}"
28-
printf "\n\n${{ matrix.java-type | upper }}${{ matrix.java-version }} with Node.js ${{ matrix.node-version }}${VARIANT_LABEL}\n"
20+
JAVA_TYPE=$(echo "${{ matrix.java-type }}" | tr '[:lower:]' '[:upper:]')
21+
printf "\n\n${JAVA_TYPE}${{ matrix.java-version }} with Node.js ${{ matrix.node-version }}${VARIANT_LABEL}\n"
2922
3023
# Run container and capture version outputs
3124
VERSIONS=$(docker run -i $(docker build -q ${IMAGE_PATH}) /bin/sh -c "java -version 2>&1 && node --version")

0 commit comments

Comments
 (0)