diff --git a/.github/workflows/_docker_build_scan_push.yml b/.github/workflows/_docker_build_scan_push.yml index 800b74c4..0f303cb0 100644 --- a/.github/workflows/_docker_build_scan_push.yml +++ b/.github/workflows/_docker_build_scan_push.yml @@ -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