Skip to content

Commit

Permalink
tesstt-123
Browse files Browse the repository at this point in the history
  • Loading branch information
yordanovsstoyan committed Aug 8, 2024
1 parent b621cc2 commit 341271e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions actions/java-gradle-build-jib/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ runs:
event=tag,type=ref,pattern=latest
flavor: |
latest=true
- name: Docker metadata additional tags
id: meta
uses: docker/metadata-action@v5
Expand All @@ -114,9 +114,8 @@ runs:
-Djib.from.platforms=${{ inputs.platforms }} \
${{ inputs.jib-from-image && format('-Djib.from.image={0}', inputs.jib-from-image) || '' }} \
${{ inputs.class && format('-Djib.container.mainClass={0}', inputs.class) || '' }} \
-Djib.to.image=${{ inputs.full-image-name }}:${{ inputs.image-tag }} \
-Djib.to.image=${{ inputs.full-image-name }}:${{ steps.meta-default.outputs.version }} \
${{ inputs.gradle-refresh-dependencies == 'true' && '--refresh-dependencies' || '' }} \
-Djib.to.tags=$(echo "${{ steps.meta-default.outputs.tags }}" | tr ',' '\n' | sed 's/.*://') \
${{ inputs.allow-insecure-registries == 'true' && '-Djib.allowInsecureRegistries=true' || '' }}
shell: bash
working-directory: ${{ inputs.working-directory }}
Expand Down

0 comments on commit 341271e

Please sign in to comment.