Skip to content

Commit

Permalink
LPAL-1300: prefix image tags with main
Browse files Browse the repository at this point in the history
LPAL-1300: prefix image tags with main
  • Loading branch information
jay-whitwell authored Jun 5, 2024
2 parents e62dbf5 + 77cf82a commit 979b331
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/_docker_build_scan_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ jobs:
id: docker_tags
run: >
if ${{ inputs.branch_name == 'main' }}; then
echo "tags=$ECR_REGISTRY/$ECR_REPOSITORY:latest,$ECR_REGISTRY/main-$ECR_REPOSITORY:$SEMVER_TAG" >> $GITHUB_OUTPUT
echo "semver_tag=$ECR_REGISTRY/main-$ECR_REPOSITORY:$SEMVER_TAG" >> $GITHUB_OUTPUT
echo "tags=$ECR_REGISTRY/$ECR_REPOSITORY:latest,$ECR_REGISTRY/$ECR_REPOSITORY:main-$SEMVER_TAG" >> $GITHUB_OUTPUT
echo "semver_tag=$ECR_REGISTRY/$ECR_REPOSITORY:main-$SEMVER_TAG" >> $GITHUB_OUTPUT
else
echo "tags=$ECR_REGISTRY/$ECR_REPOSITORY:$SEMVER_TAG" >> $GITHUB_OUTPUT
echo "semver_tag=$ECR_REGISTRY/$ECR_REPOSITORY:$SEMVER_TAG" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 979b331

Please sign in to comment.