Skip to content

Commit e000c61

Browse files
committed
fix: frontend posthog vars
1 parent 9ce782c commit e000c61

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/build-and-push.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ jobs:
4343
env:
4444
DOCKER_REGISTRY: ghcr.io
4545
DOCKER_USERNAME: ${{ github.repository_owner }}
46+
VITE_PUBLIC_POSTHOG_KEY: ${{ secrets.VITE_PUBLIC_POSTHOG_KEY }}
47+
VITE_PUBLIC_POSTHOG_HOST: ${{ secrets.VITE_PUBLIC_POSTHOG_HOST }}
4648
run: npm run build:dockerImage
4749

4850
- name: Push Docker image

build/dockerImage.mjs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ import {spawnAndPrint} from './buildUtils.mjs';
1212

1313
const execPromised = util.promisify(exec);
1414

15-
const HEROKU_DEPLOYMENT_TAG = 'registry.heroku.com/poinz/web';
16-
1715
const dirname = path.dirname(fileURLToPath(import.meta.url));
1816

1917
buildImage()
@@ -43,7 +41,7 @@ async function buildImage() {
4341
const registry = process.env.DOCKER_REGISTRY;
4442
const user = process.env.DOCKER_USERNAME.toLowerCase();
4543
const userAndProject = `${registry}/${user}/poinz`;
46-
const tags = [`${userAndProject}:latest`, HEROKU_DEPLOYMENT_TAG];
44+
const tags = [`${userAndProject}:latest`];
4745
gitInfo.tags.forEach((gitTag) => tags.push(`${userAndProject}:${gitTag}`));
4846
const cmdArgs = `build ${tags.map((tg) => '-t ' + tg).join(' ')} --network=host .`;
4947

0 commit comments

Comments
 (0)