Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
7abfabf3ff
|
@@ -1,22 +0,0 @@
|
|||||||
stages:
|
|
||||||
- build
|
|
||||||
- deploy-prod
|
|
||||||
|
|
||||||
image: buildtool/build-tools:${BUILDTOOLS_VERSION}
|
|
||||||
|
|
||||||
build:
|
|
||||||
stage: build
|
|
||||||
script:
|
|
||||||
- build
|
|
||||||
- push
|
|
||||||
|
|
||||||
deploy-to-prod:
|
|
||||||
stage: deploy-prod
|
|
||||||
when: on_success
|
|
||||||
script:
|
|
||||||
- echo Deploy to PROD.
|
|
||||||
- deploy prod
|
|
||||||
environment:
|
|
||||||
name: prod
|
|
||||||
only:
|
|
||||||
- master
|
|
||||||
+1
-1
@@ -44,7 +44,7 @@ spec:
|
|||||||
periodSeconds: 5
|
periodSeconds: 5
|
||||||
timeoutSeconds: 5
|
timeoutSeconds: 5
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
image: oci.unbound.se/unboundsoftware/lingonpaj-site:${COMMIT}
|
image: oci.unbound.se/unboundsoftware/lingonpaj-site@sha256:4af64942ba74210a4db65c7b8ab3fbf138eeef87c30084de855a524052f16a7e:${COMMIT}
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 80
|
- containerPort: 80
|
||||||
resources:
|
resources:
|
||||||
|
|||||||
Reference in New Issue
Block a user