linux/amd64
This commit is contained in:
parent
629ada7564
commit
7113e3a3de
2 changed files with 43 additions and 1 deletions
|
@ -71,5 +71,5 @@ jobs:
|
|||
push: true
|
||||
allow: network.host
|
||||
network: host
|
||||
platforms: linux/arm64,linux/amd64
|
||||
platforms: linux/amd64
|
||||
tags: ${{ steps.docker.outputs.tags }}
|
||||
|
|
42
k8/deployment.yaml
Normal file
42
k8/deployment.yaml
Normal file
|
@ -0,0 +1,42 @@
|
|||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: silly-game-frontend-deployment
|
||||
namespace: silly-game
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: silly-game-frontend
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: silly-game-frontend
|
||||
spec:
|
||||
containers:
|
||||
- name: silly-game-frontend
|
||||
image: forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/devfw-cicd/michals-silly-game-frontend:main
|
||||
ports:
|
||||
- containerPort: 80
|
||||
volumeMounts:
|
||||
- name: config-volume
|
||||
mountPath: /app/src/environments/environment.ts
|
||||
subPath: environment.ts
|
||||
volumes:
|
||||
- name: config-volume
|
||||
configMap:
|
||||
name: silly-game-config
|
||||
|
||||
---
|
||||
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: silly-game-service
|
||||
namespace: silly-game
|
||||
spec:
|
||||
selector:
|
||||
app: silly-game
|
||||
ports:
|
||||
- port: 80
|
||||
targetPort: 8080
|
Loading…
Reference in a new issue