forked from codefresh-contrib/gitops-certification-examples
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcodefresh.yml
More file actions
32 lines (26 loc) · 670 Bytes
/
codefresh.yml
File metadata and controls
32 lines (26 loc) · 670 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
# More examples of Codefresh YAML can be found at
# https://codefresh.io/docs/docs/yaml-examples/examples/
version: "1.0"
# Stages can help you organize your steps in stages
stages:
- "clone"
- "build"
steps:
clone:
title: "Cloning repository"
type: "git-clone"
repo: "codefresh-contrib/gitops-certification-examples"
revision: "main"
stage: "clone"
build:
title: "Building Docker image"
type: "build"
image_name: "kostiscodefresh/gitops-simple-app"
working_directory: "${{clone}}/source-code"
tag: main
tags:
- "latest"
- "v1.0"
dockerfile: "Dockerfile"
stage: "build"
registry: dockerhub