remove kustomize install as it should be in the actor container
All checks were successful
Build and Push Container Image / build-and-push (push) Successful in 10m55s
All checks were successful
Build and Push Container Image / build-and-push (push) Successful in 10m55s
This commit is contained in:
@@ -25,7 +25,6 @@ jobs:
|
||||
http = false
|
||||
insecure = true
|
||||
|
||||
|
||||
- name: Log in to the Container registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
@@ -53,11 +52,6 @@ jobs:
|
||||
cache-from: type=gha
|
||||
cache-to: type=gha,mode=max
|
||||
|
||||
- name: Install Kustomize
|
||||
run: |
|
||||
curl -s "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh" | bash
|
||||
sudo mv kustomize /usr/local/bin/
|
||||
|
||||
- name: Update Kustomize
|
||||
run: |
|
||||
IMAGE_TAG=$(echo '${{ steps.meta.outputs.json }}' | jq -r '.tags[] | select(startswith("reg.milasholsting.dk/apps/mal:sha-"))' | cut -d: -f2)
|
||||
|
||||
@@ -9,4 +9,4 @@ spec:
|
||||
destination:
|
||||
name: mal
|
||||
create: true
|
||||
refreshAfter: 1h
|
||||
refreshAfter: 1h
|
||||
|
||||
@@ -8,7 +8,7 @@ spec:
|
||||
app: mal
|
||||
type: ClusterIP
|
||||
ports:
|
||||
- name: mal
|
||||
protocol: TCP
|
||||
port: 3000
|
||||
targetPort: 3000
|
||||
- name: mal
|
||||
protocol: TCP
|
||||
port: 3000
|
||||
targetPort: 3000
|
||||
|
||||
@@ -3,18 +3,18 @@ kind: Kustomization
|
||||
|
||||
# 1. Point to the base manifests
|
||||
resources:
|
||||
- ../../base
|
||||
- ../../base
|
||||
|
||||
# 2. Apply the production-specific changes
|
||||
patches:
|
||||
- path: deployment.yaml
|
||||
target:
|
||||
kind: Deployment
|
||||
name: mal
|
||||
- path: deployment.yaml
|
||||
target:
|
||||
kind: Deployment
|
||||
name: mal
|
||||
|
||||
namespace: mal
|
||||
|
||||
images:
|
||||
- name: main
|
||||
newName: reg.milasholsting.dk/apps/mal
|
||||
newTag: sha-6f3ca3e
|
||||
- name: main
|
||||
newName: reg.milasholsting.dk/apps/mal
|
||||
newTag: sha-6f3ca3e
|
||||
|
||||
Reference in New Issue
Block a user