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
|
http = false
|
||||||
insecure = true
|
insecure = true
|
||||||
|
|
||||||
|
|
||||||
- name: Log in to the Container registry
|
- name: Log in to the Container registry
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
@@ -53,11 +52,6 @@ jobs:
|
|||||||
cache-from: type=gha
|
cache-from: type=gha
|
||||||
cache-to: type=gha,mode=max
|
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
|
- name: Update Kustomize
|
||||||
run: |
|
run: |
|
||||||
IMAGE_TAG=$(echo '${{ steps.meta.outputs.json }}' | jq -r '.tags[] | select(startswith("reg.milasholsting.dk/apps/mal:sha-"))' | cut -d: -f2)
|
IMAGE_TAG=$(echo '${{ steps.meta.outputs.json }}' | jq -r '.tags[] | select(startswith("reg.milasholsting.dk/apps/mal:sha-"))' | cut -d: -f2)
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ spec:
|
|||||||
app: mal
|
app: mal
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
ports:
|
ports:
|
||||||
- name: mal
|
- name: mal
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
port: 3000
|
port: 3000
|
||||||
targetPort: 3000
|
targetPort: 3000
|
||||||
|
|||||||
@@ -3,18 +3,18 @@ kind: Kustomization
|
|||||||
|
|
||||||
# 1. Point to the base manifests
|
# 1. Point to the base manifests
|
||||||
resources:
|
resources:
|
||||||
- ../../base
|
- ../../base
|
||||||
|
|
||||||
# 2. Apply the production-specific changes
|
# 2. Apply the production-specific changes
|
||||||
patches:
|
patches:
|
||||||
- path: deployment.yaml
|
- path: deployment.yaml
|
||||||
target:
|
target:
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
name: mal
|
name: mal
|
||||||
|
|
||||||
namespace: mal
|
namespace: mal
|
||||||
|
|
||||||
images:
|
images:
|
||||||
- name: main
|
- name: main
|
||||||
newName: reg.milasholsting.dk/apps/mal
|
newName: reg.milasholsting.dk/apps/mal
|
||||||
newTag: sha-6f3ca3e
|
newTag: sha-6f3ca3e
|
||||||
|
|||||||
Reference in New Issue
Block a user