diff --git a/package.json b/package.json index c750655..b69455a 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "scripts": { "ng": "ng", "start": "ng serve", - "build": "ng build", + "build": "ng build --base-href /silly-game/ --deploy-url /silly-game/", "watch": "ng build --watch --configuration development", "test": "ng test", "lint": "ng lint" diff --git a/push_container_image.sh b/push_container_image.sh new file mode 100755 index 0000000..a79e666 --- /dev/null +++ b/push_container_image.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +docker build --platform linux/arm64 -t michals-silly-game-frontend . + +docker tag michals-silly-game-frontend forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/devfw-cicd/michals-silly-game-frontend:latest + +docker login https://forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/ + +docker push forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/devfw-cicd/michals-silly-game-frontend:latest + +docker logout + +docker login \ No newline at end of file