Skip to content

Latest commit

 

History

History
73 lines (50 loc) · 2.27 KB

README.md

File metadata and controls

73 lines (50 loc) · 2.27 KB

GitHub Actions

A repository exploring GitHub Actions

Version 2: CI/CD with Github actions (August 2019)

Since August 8th 2019 GitHub Actions includes built-in CI/CD. Version 2 of this repository is executing the same CI/CD workflow as the first version 1, 2, 3 .

This repository contains one version2 workflow to

  • test the go code
  • benchmark the go code
  • builds a docker image & uploads it to dockerhub All that is defined in cicd.yml file.

test, benchmark, docker build/push

Blog Post

CI/CD with GitHub Actions v2

Version 2: CI/CD with Github actions (May 2019)

GitHub actions Playground.

This repository contains one version1 action that

  • builds a go binary
  • tests the go code
  • benchmarks the go code
  • builds a docker image
  • logs in to docker hub
  • pushes the created docker image to dockerhub
  • adds a shaking finger to a pull request in case an action fails

build, test, benchmark, docker build/push & shaking finger

All that is mainly defined in main.workflow file.

Blog Post

CI/CD with GitHub Actions

make file targets

build

make build

test

make test
make benchmark

run

make run

build docker image

make build.docker

clean

make clean