summaryrefslogtreecommitdiffstats
path: root/codefresh.yml
blob: adc73bcf7a6cc4f24bccda3ec810c199197112a2 (plain)
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
version: '1.0'
steps:
  main_clone:
    type: git-clone
    repo: lirantal/dockly
  BuildingDockerImage:
    title: Building Docker Image
    type: build
    registry: dockerhub
    image_name: lirantal/dockly
    working_directory: ./
    dockerfile: Dockerfile
    tag: '${{CF_BRANCH_TAG_NORMALIZED}}'
  PushToRegistry:
    title: Pushing to Docker Registry
    type: push
    registry: dockerhub
    candidate: '${{BuildingDockerImage}}'
    tags:
      - main
      - latest
    when:
      branch:
        only:
          - master
stages: []