From a62bdd0c0b83bdd65c699058b131b48e338d3918 Mon Sep 17 00:00:00 2001 From: Oguz Ozturk Date: Mon, 16 Sep 2024 12:35:31 +0300 Subject: [PATCH] add suggestions Signed-off-by: Oguz Ozturk --- .../actions/docker-build-and-push/action.yaml | 40 +++++++++---------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/.github/actions/docker-build-and-push/action.yaml b/.github/actions/docker-build-and-push/action.yaml index 6389b4d8ceb..0a58ffd3839 100644 --- a/.github/actions/docker-build-and-push/action.yaml +++ b/.github/actions/docker-build-and-push/action.yaml @@ -78,8 +78,8 @@ runs: with: images: ghcr.io/${{ github.repository_owner }}/${{ inputs.bake-target }} tags: | - type=raw,value=base${{ inputs.tag-suffix && '-' }}${{ inputs.tag-suffix }} - type=raw,value=base${{ inputs.tag-suffix && '-' }}${{ inputs.tag-suffix }}-${{ steps.date.outputs.date }} + type=raw,value=base${{ (inputs.tag-suffix && '-') + inputs.tag-suffix }} + type=raw,value=base${{ (inputs.tag-suffix && '-') + inputs.tag-suffix }}-${{ steps.date.outputs.date }} bake-target: docker-metadata-action-base flavor: | latest=false @@ -90,8 +90,8 @@ runs: with: images: ghcr.io/${{ github.repository_owner }}/${{ inputs.bake-target }} tags: | - type=raw,value=core-devel${{ inputs.tag-suffix && '-' }}${{ inputs.tag-suffix }} - type=raw,value=core-devel${{ inputs.tag-suffix && '-' }}${{ inputs.tag-suffix }}-${{ steps.date.outputs.date }} + type=raw,value=core-devel${{ (inputs.tag-suffix && '-') + inputs.tag-suffix }} + type=raw,value=core-devel${{ (inputs.tag-suffix && '-') + inputs.tag-suffix }}-${{ steps.date.outputs.date }} bake-target: docker-metadata-action-core-devel flavor: | latest=false @@ -102,8 +102,8 @@ runs: with: images: ghcr.io/${{ github.repository_owner }}/${{ inputs.bake-target }} tags: | - type=raw,value=universe-sensing-perception-devel${{ inputs.tag-suffix && '-' }}${{ inputs.tag-suffix }} - type=raw,value=universe-sensing-perception-devel${{ inputs.tag-suffix && '-' }}${{ inputs.tag-suffix }}-${{ steps.date.outputs.date }} + type=raw,value=universe-sensing-perception-devel${{ (inputs.tag-suffix && '-') + inputs.tag-suffix }} + type=raw,value=universe-sensing-perception-devel${{ (inputs.tag-suffix && '-') + inputs.tag-suffix }}-${{ steps.date.outputs.date }} bake-target: docker-metadata-action-universe-sensing-perception-devel flavor: | latest=false @@ -114,8 +114,8 @@ runs: with: images: ghcr.io/${{ github.repository_owner }}/${{ inputs.bake-target }} tags: | - type=raw,value=universe-sensing-perception${{ inputs.tag-suffix && '-' }}${{ inputs.tag-suffix }} - type=raw,value=universe-sensing-perception${{ inputs.tag-suffix && '-' }}${{ inputs.tag-suffix }}-${{ steps.date.outputs.date }} + type=raw,value=universe-sensing-perception${{ (inputs.tag-suffix && '-') + inputs.tag-suffix }} + type=raw,value=universe-sensing-perception${{ (inputs.tag-suffix && '-') + inputs.tag-suffix }}-${{ steps.date.outputs.date }} bake-target: docker-metadata-action-universe-sensing-perception flavor: | latest=false @@ -126,8 +126,8 @@ runs: with: images: ghcr.io/${{ github.repository_owner }}/${{ inputs.bake-target }} tags: | - type=raw,value=universe-localization-mapping-devel${{ inputs.tag-suffix && '-' }}${{ inputs.tag-suffix }} - type=raw,value=universe-localization-mapping-devel${{ inputs.tag-suffix && '-' }}${{ inputs.tag-suffix }}-${{ steps.date.outputs.date }} + type=raw,value=universe-localization-mapping-devel${{ (inputs.tag-suffix && '-') + inputs.tag-suffix }} + type=raw,value=universe-localization-mapping-devel${{ (inputs.tag-suffix && '-') + inputs.tag-suffix }}-${{ steps.date.outputs.date }} bake-target: docker-metadata-action-universe-localization-mapping-devel flavor: | latest=false @@ -138,8 +138,8 @@ runs: with: images: ghcr.io/${{ github.repository_owner }}/${{ inputs.bake-target }} tags: | - type=raw,value=universe-localization-mapping${{ inputs.tag-suffix && '-' }}${{ inputs.tag-suffix }} - type=raw,value=universe-localization-mapping${{ inputs.tag-suffix && '-' }}${{ inputs.tag-suffix }}-${{ steps.date.outputs.date }} + type=raw,value=universe-localization-mapping${{ (inputs.tag-suffix && '-') + inputs.tag-suffix }} + type=raw,value=universe-localization-mapping${{ (inputs.tag-suffix && '-') + inputs.tag-suffix }}-${{ steps.date.outputs.date }} bake-target: docker-metadata-action-universe-localization-mapping flavor: | latest=false @@ -150,8 +150,8 @@ runs: with: images: ghcr.io/${{ github.repository_owner }}/${{ inputs.bake-target }} tags: | - type=raw,value=universe-planning-control-devel${{ inputs.tag-suffix && '-' }}${{ inputs.tag-suffix }} - type=raw,value=universe-planning-control-devel${{ inputs.tag-suffix && '-' }}${{ inputs.tag-suffix }}-${{ steps.date.outputs.date }} + type=raw,value=universe-planning-control-devel${{ (inputs.tag-suffix && '-') + inputs.tag-suffix }} + type=raw,value=universe-planning-control-devel${{ (inputs.tag-suffix && '-') + inputs.tag-suffix }}-${{ steps.date.outputs.date }} bake-target: docker-metadata-action-universe-planning-control-devel flavor: | latest=false @@ -162,8 +162,8 @@ runs: with: images: ghcr.io/${{ github.repository_owner }}/${{ inputs.bake-target }} tags: | - type=raw,value=universe-planning-control${{ inputs.tag-suffix && '-' }}${{ inputs.tag-suffix }} - type=raw,value=universe-planning-control${{ inputs.tag-suffix && '-' }}${{ inputs.tag-suffix }}-${{ steps.date.outputs.date }} + type=raw,value=universe-planning-control${{ (inputs.tag-suffix && '-') + inputs.tag-suffix }} + type=raw,value=universe-planning-control${{ (inputs.tag-suffix && '-') + inputs.tag-suffix }}-${{ steps.date.outputs.date }} bake-target: docker-metadata-action-universe-planning-control flavor: | latest=false @@ -174,8 +174,8 @@ runs: with: images: ghcr.io/${{ github.repository_owner }}/${{ inputs.bake-target }} tags: | - type=raw,value=universe-devel${{ inputs.tag-suffix && '-' }}${{ inputs.tag-suffix }} - type=raw,value=universe-devel${{ inputs.tag-suffix && '-' }}${{ inputs.tag-suffix }}-${{ steps.date.outputs.date }} + type=raw,value=universe-devel${{ (inputs.tag-suffix && '-') + inputs.tag-suffix }} + type=raw,value=universe-devel${{ (inputs.tag-suffix && '-') + inputs.tag-suffix }}-${{ steps.date.outputs.date }} bake-target: docker-metadata-action-universe-devel flavor: | latest=false @@ -186,8 +186,8 @@ runs: with: images: ghcr.io/${{ github.repository_owner }}/${{ inputs.bake-target }} tags: | - type=raw,value=universe${{ inputs.tag-suffix && '-' }}${{ inputs.tag-suffix }} - type=raw,value=universe${{ inputs.tag-suffix && '-' }}${{ inputs.tag-suffix }}-${{ steps.date.outputs.date }} + type=raw,value=universe${{ (inputs.tag-suffix && '-') + inputs.tag-suffix }} + type=raw,value=universe${{ (inputs.tag-suffix && '-') + inputs.tag-suffix }}-${{ steps.date.outputs.date }} bake-target: docker-metadata-action-universe flavor: | latest=auto