This repository has been archived by the owner on Feb 8, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Replace Harbor images urls by ghcr ones
- Loading branch information
1 parent
e7eeb94
commit 4b0c62b
Showing
3 changed files
with
16 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,13 @@ | ||
import env from "@kosko/env"; | ||
|
||
import { create } from "@socialgouv/kosko-charts/components/hasura"; | ||
import { getHarborImagePath } from "@socialgouv/kosko-charts/utils/getHarborImagePath"; | ||
import environments from '@socialgouv/kosko-charts/environments'; | ||
|
||
const ciEnv = environments(process.env); | ||
|
||
export default create("hasura", { | ||
env, | ||
deployment: { | ||
image: getHarborImagePath({ | ||
project: "sample-next-app", | ||
name: "hasura", | ||
}), | ||
image: `ghcr.io/socialgouv/sample-next-app/hasura:sha-${ciEnv.tag || ciEnv.sha}`, | ||
}, | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters