parent
f2e3778724
commit
dae4dd96cb
3 changed files with 4 additions and 3 deletions
|
@ -72,4 +72,4 @@ jobs:
|
||||||
allow: network.host
|
allow: network.host
|
||||||
network: host
|
network: host
|
||||||
platforms: linux/amd64
|
platforms: linux/amd64
|
||||||
tags: ${{ steps.docker.outputs.tags }}
|
tags: $(jq -r '.version' package.json)
|
||||||
|
|
|
@ -15,7 +15,7 @@ spec:
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: silly-game-frontend
|
- name: silly-game-frontend
|
||||||
image: forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/devfw-cicd/michals-silly-game-frontend:latest
|
image: forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/devfw-cicd/michals-silly-game-frontend:$(jq -r '.version' package.json)
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 80
|
- containerPort: 80
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
TAG=$(date +'%H%M')
|
# TAG=$(date +'%H%M')
|
||||||
|
TAG=$(jq -r '.version' package.json)
|
||||||
|
|
||||||
docker build --platform linux/arm64 -t michals-silly-game-frontend-${TAG} .
|
docker build --platform linux/arm64 -t michals-silly-game-frontend-${TAG} .
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue