fix(assets): Correct URLs in templates and fix TypeScript declaration
This commit is contained in:
		| @@ -7,7 +7,7 @@ on: | ||||
|  | ||||
| env: | ||||
|   IMAGE: code.foss.global/hosttoday/ht-docker-node:npmci | ||||
|   NPMCI_COMPUTED_REPOURL: https://${-{gitea.repository_owner}-}:${-{secrets.GITEA_TOKEN}-}@{{gi.host}}/${-{gitea.repository}-}.git | ||||
|   NPMCI_COMPUTED_REPOURL: https://${-{gitea.repository_owner}-}:${-{secrets.GITEA_TOKEN}-}@{{git.host}}/${-{gitea.repository}-}.git | ||||
|   NPMCI_TOKEN_NPM: ${-{secrets.NPMCI_TOKEN_NPM}-} | ||||
|   NPMCI_TOKEN_NPM2: ${-{secrets.NPMCI_TOKEN_NPM2}-} | ||||
|   NPMCI_GIT_GITHUBTOKEN: ${-{secrets.NPMCI_GIT_GITHUBTOKEN}-} | ||||
|   | ||||
| @@ -1,6 +1,6 @@ | ||||
| # gitzone dockerfile_service | ||||
| ## STAGE 1 // BUILD | ||||
| FROM code.foss.global/hosttoday/ht-docker-node:npmci as node1 | ||||
| FROM code.foss.global/host.today/ht-docker-node:npmci as node1 | ||||
| COPY ./ /app | ||||
| WORKDIR /app | ||||
| ARG NPMCI_TOKEN_NPM2 | ||||
| @@ -12,7 +12,7 @@ RUN pnpm run build | ||||
|  | ||||
| # gitzone dockerfile_service | ||||
| ## STAGE 2 // install production | ||||
| FROM code.foss.global/hosttoday/ht-docker-node:npmci as node2 | ||||
| FROM code.foss.global/host.today/ht-docker-node:npmci as node2 | ||||
| WORKDIR /app | ||||
| COPY --from=node1 /app /app | ||||
| RUN rm -rf .pnpm-store | ||||
| @@ -24,7 +24,7 @@ RUN rm -rf node_modules/ && pnpm install --prod | ||||
|  | ||||
|  | ||||
| ## STAGE 3 // rebuild dependencies for alpine | ||||
| FROM code.foss.global/hosttoday/ht-docker-node:alpinenpmci as node3 | ||||
| FROM code.foss.global/host.today/ht-docker-node:alpinenpmci as node3 | ||||
| WORKDIR /app | ||||
| COPY --from=node2 /app /app | ||||
| ARG NPMCI_TOKEN_NPM2 | ||||
| @@ -34,7 +34,7 @@ RUN pnpm config set store-dir .pnpm-store | ||||
| RUN pnpm rebuild -r | ||||
|  | ||||
| ## STAGE 4 // the final production image with all dependencies in place | ||||
| FROM code.foss.global/hosttoday/ht-docker-node:alpine as node4 | ||||
| FROM code.foss.global/host.today/ht-docker-node:alpine as node4 | ||||
| WORKDIR /app | ||||
| COPY --from=node3 /app /app | ||||
|  | ||||
|   | ||||
| @@ -6,7 +6,7 @@ import { | ||||
|   cssManager, | ||||
|   unsafeCSS, | ||||
|   css, | ||||
|   TemplateResult, | ||||
|   type TemplateResult, | ||||
| } from '@design.estate/dees-element'; | ||||
|  | ||||
| @customElement('default-header') | ||||
|   | ||||
| @@ -1,5 +1,11 @@ | ||||
| # Changelog | ||||
|  | ||||
| ## 2024-12-26 - 1.10.7 - fix(assets) | ||||
| Correct URLs in templates and fix TypeScript declaration | ||||
|  | ||||
| - Updated incorrect URLs in Dockerfile templates to 'host.today'. | ||||
| - Fixed type declaration for 'TemplateResult' in header.ts file. | ||||
|  | ||||
| ## 2024-12-08 - 1.10.6 - fix(ci) | ||||
| Corrected Docker image URL in CI templates | ||||
|  | ||||
|   | ||||
| @@ -3,6 +3,6 @@ | ||||
|  */ | ||||
| export const commitinfo = { | ||||
|   name: '@git.zone/cli', | ||||
|   version: '1.10.6', | ||||
|   version: '1.10.7', | ||||
|   description: 'A CLI toolbelt to streamline local development cycles by using various gitzone utilities.' | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user