File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change @@ -12,8 +12,6 @@ import {spawnAndPrint} from './buildUtils.mjs';
1212
1313const execPromised = util . promisify ( exec ) ;
1414
15- const HEROKU_DEPLOYMENT_TAG = 'registry.heroku.com/poinz/web' ;
16-
1715const dirname = path . dirname ( fileURLToPath ( import . meta. url ) ) ;
1816
1917buildImage ( )
@@ -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
You can’t perform that action at this time.
0 commit comments