Skip to content

Commit

Permalink
push oras docker image (oras-project#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdolitsky authored Dec 28, 2018
1 parent 7d8f05c commit 73bedce
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .codefresh/master.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
version: '1.0'
stages:
- test
- build
- release
steps:
UnitTest:
title: Run unit tests
Expand All @@ -10,3 +12,15 @@ steps:
commands:
- ln -s /codefresh/volume/${{CF_REPO_NAME}} ${{CF_REPO_NAME}} && cd ${{CF_REPO_NAME}}
- make test
BuildDockerImage:
title: Build Docker image
stage: build
type: build
image_name: ${{CF_REPO_OWNER}}/${{CF_REPO_NAME}}
PushDockerImage:
title: Push Docker image (latest)
stage: release
type: push
candidate: ${{BuildDockerImage}}
image_name: ocistorage/${{CF_REPO_NAME}}
registry: dockerhub

0 comments on commit 73bedce

Please sign in to comment.