Skip to content

Commit

Permalink
fix: idk proper ident or sth?
Browse files Browse the repository at this point in the history
  • Loading branch information
0xkubectl committed Jun 20, 2024
1 parent f867c32 commit e0c2163
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions actions/java-gradle-build-push-jib-multi-plaftorm/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,19 +72,19 @@ runs:
gradle-cache: ${{ inputs.gradle-cache }}
gradle-cache-read-only: ${{ inputs.gradle-cache-read-only }}

- name: Process inputs
id: process-inputs
run: |
# Extract the image name from the full image name
echo "IMAGE_NAME=$(echo "${{ inputs.full-image-name }}" | cut -d ':' -f 1)" >> "$GITHUB_OUTPUT"
IFS=',' read -r -a tags <<< ${{ inputs.additional-tags }}
echo "IMAGE_TAGS<<EOF" >> "$GITHUB_OUTPUT"
for element in "${tags[@]}"
do
echo "type=raw,$element" >> $GITHUB_OUTPUT
done
echo "EOF" >> "$GITHUB_OUTPUT"
shell: bash
- name: Process inputs
id: process-inputs
run: |
# Extract the image name from the full image name
echo "IMAGE_NAME=$(echo "${{ inputs.full-image-name }}" | cut -d ':' -f 1)" >> "$GITHUB_OUTPUT"
IFS=',' read -r -a tags <<< "${{ inputs.additional-tags }}"
echo "IMAGE_TAGS<<EOF" >> "$GITHUB_OUTPUT"
for element in "${tags[@]}"
do
echo "type=raw,$element" >> $GITHUB_OUTPUT
done
echo "EOF" >> "$GITHUB_OUTPUT"
shell: bash

- name: Docker metadata
id: meta
Expand Down

0 comments on commit e0c2163

Please sign in to comment.