diff --git a/.github/workflows/deploy_to_development.yml b/.github/workflows/deploy_to_development.yml index 2af5632e2..a64761b9d 100644 --- a/.github/workflows/deploy_to_development.yml +++ b/.github/workflows/deploy_to_development.yml @@ -41,7 +41,10 @@ jobs: ComponentName: ${{ matrix.component }} Registry: ghcr.io ImageName: ${{ github.repository }} - Tag: ${{ needs.get-short-sha.outputs.tag }} + # Add dev. prefix for the tags used in dev environment, + # due to the commit hash can be interpreted as an integer if only numbers + # PS: Needs to match deploy.with.Tag + Tag: "dev.${{ needs.get-short-sha.outputs.tag }}" secrets: RegistryUsername: ${{ github.actor }} RegistryPassword: ${{ secrets.GITHUB_TOKEN }} @@ -54,9 +57,10 @@ jobs: Environment: development Registry: ghcr.io ImageName: ${{ github.repository }} - # Add quotation marks for the tags used in dev environment, + # Add dev. prefix for the tags used in dev environment, # due to the commit hash can be interpreted as an integer if only numbers - Tag: '${{ needs.get-short-sha.outputs.tag }}' + # PS: Needs to match build-and-push-components.with.Tag + Tag: "dev.${{ needs.get-short-sha.outputs.tag }}" AuthorEmail: ${{ github.event.head_commit.author.email }} AuthorName: ${{ github.event.head_commit.author.name }} secrets: