https instead of http
Some checks failed
ci / build (push) Failing after 40s

This commit is contained in:
miwr 2025-04-22 13:04:32 +02:00
parent 5ee33ab364
commit b0fe153251
2 changed files with 6 additions and 4 deletions

View file

@ -1,12 +1,14 @@
#!/bin/bash #!/bin/bash
docker build --platform linux/arm64 -t michals-silly-game-frontend . TAG=$(date +'%H%M')
docker tag michals-silly-game-frontend forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/devfw-cicd/michals-silly-game-frontend:latest docker build --platform linux/arm64 -t michals-silly-game-frontend-${TAG} .
docker tag michals-silly-game-frontend forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/devfw-cicd/michals-silly-game-frontend:${TAG}
docker login https://forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/ 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 push forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/devfw-cicd/michals-silly-game-frontend:${TAG}
docker logout docker logout

View file

@ -1,5 +1,5 @@
export const environment = { export const environment = {
production: true, production: true,
apiBaseUrl: "http://factory.c-one-infra.de/silly-game-api/game/jump" apiBaseUrl: "https://factory.c-one-infra.de/silly-game-api/game/jump"
// apiBaseUrl: "http://${window.location.origin}/silly-game-api/game/jump" // apiBaseUrl: "http://${window.location.origin}/silly-game-api/game/jump"
}; };