parent
f2e3778724
commit
dae4dd96cb
3 changed files with 4 additions and 3 deletions
|
@ -72,4 +72,4 @@ jobs:
|
|||
allow: network.host
|
||||
network: host
|
||||
platforms: linux/amd64
|
||||
tags: ${{ steps.docker.outputs.tags }}
|
||||
tags: $(jq -r '.version' package.json)
|
||||
|
|
|
@ -15,7 +15,7 @@ spec:
|
|||
spec:
|
||||
containers:
|
||||
- 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
|
||||
ports:
|
||||
- containerPort: 80
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
#!/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} .
|
||||
|
||||
|
|
Loading…
Reference in a new issue