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

This commit is contained in:
2026-06-09 08:45:35 +02:00
parent 2e26a82aa7
commit 30a00eb348
4 changed files with 13 additions and 19 deletions

View File

@@ -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)

View File

@@ -9,4 +9,4 @@ spec:
destination:
name: mal
create: true
refreshAfter: 1h
refreshAfter: 1h

View File

@@ -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

View File

@@ -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