Skip to content

Commit

Permalink
Merge pull request #1123 from gettakaro/main-promotion
Browse files Browse the repository at this point in the history
  • Loading branch information
niekcandaele authored Aug 17, 2024
2 parents 0e88ba3 + 96bd2cd commit 0e2f6df
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,12 @@ jobs:
uses: docker/metadata-action@v5
with:
images: ghcr.io/${{ github.repository_owner }}/${{ github.event.repository.name }}-${{ matrix.package.name }}
tags: |
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'main') }}
type=schedule
type=ref,event=branch
type=ref,event=tag
type=ref,event=pr
- name: Get Git commit timestamps
run: echo "TIMESTAMP=$(git log -1 --pretty=%ct)" >> $GITHUB_ENV
Expand Down
7 changes: 6 additions & 1 deletion packages/app-api/src/service/DomainService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,12 @@ export class DomainService extends NOT_DOMAIN_SCOPED_TakaroService<
});

const domain = await this.repo.create(
new DomainCreateInputDTO({ id, name: input.name, state: input.state ?? DOMAIN_STATES.ACTIVE }),
new DomainCreateInputDTO({
id,
name: input.name,
state: input.state ?? DOMAIN_STATES.ACTIVE,
externalReference: input.externalReference,
}),
);

const userService = new UserService(domain.id);
Expand Down

0 comments on commit 0e2f6df

Please sign in to comment.