fix ghcr action

This commit is contained in:
Ishaan Jaff 2025-03-15 20:23:02 -07:00
parent 2334863e48
commit 422f1f5394

View file

@ -114,8 +114,8 @@ jobs:
tags: |
${{ steps.meta.outputs.tags }}-${{ github.event.inputs.tag || 'latest' }},
${{ steps.meta.outputs.tags }}-${{ github.event.inputs.release_type }}
${{ github.event.inputs.release_type == 'stable' && format('{0}/{1}:main-{2}', env.REGISTRY, env.IMAGE_NAME, github.event.inputs.tag) || '' }},
${{ github.event.inputs.release_type == 'stable' && format('{0}/{1}:main-stable', env.REGISTRY, env.IMAGE_NAME) || '' }}
${{ github.event.inputs.release_type == 'stable' && format('{0}/{1}:main-{2}', env.REGISTRY, lower(env.IMAGE_NAME), github.event.inputs.tag) || '' }},
${{ github.event.inputs.release_type == 'stable' && format('{0}/{1}:main-stable', env.REGISTRY, lower(env.IMAGE_NAME)) || '' }}
labels: ${{ steps.meta.outputs.labels }}
platforms: local,linux/amd64,linux/arm64,linux/arm64/v8
@ -157,8 +157,8 @@ jobs:
tags: |
${{ steps.meta-database.outputs.tags }}-${{ github.event.inputs.tag || 'latest' }},
${{ steps.meta-database.outputs.tags }}-${{ github.event.inputs.release_type }}
${{ github.event.inputs.release_type == 'stable' && format('{0}/{1}-database:main-{2}', env.REGISTRY, env.IMAGE_NAME, github.event.inputs.tag) || '' }},
${{ github.event.inputs.release_type == 'stable' && format('{0}/{1}-database:main-stable', env.REGISTRY, env.IMAGE_NAME) || '' }}
${{ github.event.inputs.release_type == 'stable' && format('{0}/{1}-database:main-{2}', env.REGISTRY, lower(env.IMAGE_NAME), github.event.inputs.tag) || '' }},
${{ github.event.inputs.release_type == 'stable' && format('{0}/{1}-database:main-stable', env.REGISTRY, lower(env.IMAGE_NAME)) || '' }}
labels: ${{ steps.meta-database.outputs.labels }}
platforms: local,linux/amd64,linux/arm64,linux/arm64/v8
@ -200,8 +200,8 @@ jobs:
tags: |
${{ steps.meta-non_root.outputs.tags }}-${{ github.event.inputs.tag || 'latest' }},
${{ steps.meta-non_root.outputs.tags }}-${{ github.event.inputs.release_type }}
${{ github.event.inputs.release_type == 'stable' && format('{0}/{1}-non_root:main-{2}', env.REGISTRY, env.IMAGE_NAME, github.event.inputs.tag) || '' }},
${{ github.event.inputs.release_type == 'stable' && format('{0}/{1}-non_root:main-stable', env.REGISTRY, env.IMAGE_NAME) || '' }}
${{ github.event.inputs.release_type == 'stable' && format('{0}/{1}-non_root:main-{2}', env.REGISTRY, lower(env.IMAGE_NAME), github.event.inputs.tag) || '' }},
${{ github.event.inputs.release_type == 'stable' && format('{0}/{1}-non_root:main-stable', env.REGISTRY, lower(env.IMAGE_NAME)) || '' }}
labels: ${{ steps.meta-non_root.outputs.labels }}
platforms: local,linux/amd64,linux/arm64,linux/arm64/v8
@ -243,8 +243,8 @@ jobs:
tags: |
${{ steps.meta-spend-logs.outputs.tags }}-${{ github.event.inputs.tag || 'latest' }},
${{ steps.meta-spend-logs.outputs.tags }}-${{ github.event.inputs.release_type }}
${{ github.event.inputs.release_type == 'stable' && format('{0}/{1}-spend_logs:main-{2}', env.REGISTRY, env.IMAGE_NAME, github.event.inputs.tag) || '' }},
${{ github.event.inputs.release_type == 'stable' && format('{0}/{1}-spend_logs:main-stable', env.REGISTRY, env.IMAGE_NAME) || '' }}
${{ github.event.inputs.release_type == 'stable' && format('{0}/{1}-spend_logs:main-{2}', env.REGISTRY, lower(env.IMAGE_NAME), github.event.inputs.tag) || '' }},
${{ github.event.inputs.release_type == 'stable' && format('{0}/{1}-spend_logs:main-stable', env.REGISTRY, lower(env.IMAGE_NAME)) || '' }}
platforms: local,linux/amd64,linux/arm64,linux/arm64/v8
build-and-push-helm-chart: