Skip to content

Commit

Permalink
Fix saas-api image name
Browse files Browse the repository at this point in the history
  • Loading branch information
khvn26 committed Jun 17, 2024
1 parent 5918a29 commit 6e0e8e3
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/.reusable-deploy-ecs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,18 @@ on:
type: string
description: The environment to deploy to
required: true
saas-image-name:
type: string
description: SaaS image name
required: false
default: flagsmith-saas-api

jobs:
docker-build-saas-api:
environment: ${{ inputs.environment }}
runs-on: ubuntu-latest
outputs:
image-url: ${{ steps.login-ecr.outputs.registry }}/flagsmith-api:${{ steps.meta.outputs.version }}
image-url: ${{ steps.login-ecr.outputs.registry }}/${{ inputs.saas-image-name }}:${{ steps.meta.outputs.version }}

permissions:
id-token: write
Expand Down Expand Up @@ -43,7 +48,7 @@ jobs:
uses: docker/metadata-action@v5
with:
images: |
${{ steps.login-ecr.outputs.registry }}/flagsmith-saas-api
${{ steps.login-ecr.outputs.registry }}/${{ inputs.saas-image-name }}
tags: |
type=ref,event=branch
type=ref,event=tag
Expand Down

0 comments on commit 6e0e8e3

Please sign in to comment.