diff --git a/app1/Dockerfile b/app1/Dockerfile index e13bba0..05bb10c 100644 --- a/app1/Dockerfile +++ b/app1/Dockerfile @@ -1,6 +1,6 @@ ARG BUILD_VAR="buildVar" -FROM node:20.18.0-alpine3.20 -LABEL authors="vitalii-codefresh" +FROM node:20.18.0-alpine3.21 +LABEL authors="vitalii-codefresh-fnm" WORKDIR app/ COPY . . EXPOSE 8002 diff --git a/cloudbuild.yaml b/cloudbuild.yaml new file mode 100644 index 0000000..cf1cd4c --- /dev/null +++ b/cloudbuild.yaml @@ -0,0 +1,12 @@ +steps: + - name: 'gcr.io/cloud-builders/docker' + args: + - 'buildx' + - 'build' + - '-t' + - 'europe-north1-docker.pkg.dev/prisma-extractor/gc-registry-vitalii/gc-registry-vitalii:$COMMIT_SHA' + - '-f' + - 'app1/Dockerfile' + - '--push' + - '.' +logsBucket: 'gs://prisma-extractor_cloudbuild' \ No newline at end of file diff --git a/gitops/k3dCluster.yaml b/gitops/k3dCluster.yaml index 6410bbd..7e9794d 100644 --- a/gitops/k3dCluster.yaml +++ b/gitops/k3dCluster.yaml @@ -3,7 +3,7 @@ kind: Simple metadata: name: mycluster-vitalii # name that you want to give to your cluster (will still be prefixed with `k3d-`) servers: 1 # same as `--servers 1` -agents: 0 # same as `--agents 2` +agents: 1 # same as `--agents 2` image: rancher/k3s:v1.30.0-k3s1 #ports: # - port: 8080:80 # same as `--port '8080:80@loadbalancer'`