forked from coder/code-server
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcodefresh.yml
More file actions
38 lines (33 loc) · 793 Bytes
/
codefresh.yml
File metadata and controls
38 lines (33 loc) · 793 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
version: '1.0'
stages:
- test
steps:
CodeServerDockerImage:
title: Building CodeServer Docker Image
type: build
image_name: ilancodefresh/codeserver
working_directory: ./
tag: '${{CF_BRANCH_TAG_NORMALIZED}}'
dockerfile: Dockerfile
PushToDH:
type: push
title: Push Image to Docker Hub
description: Push Docker Image to Docker Hub Registry
candidate: ${{CodeServerDockerImage}}
#tag: temp
#image_name: codefresh/ilancs
registry: dockerhub
fail_fast: false
when:
branch:
only:
- master
retry:
maxAttempts: 2
delay: 5
Run:
type: launch-composition
title: Run CodeServer
description: ilan-codefresh/code-server
working_directory: ./
composition: docker-compose.yml