Skip to content

cf-sewe/hello-github-actions

 
 

Repository files navigation

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

About

using github actions for the first time

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Makefile 29.3%
  • Dockerfile 25.2%
  • HCL 24.3%
  • Go 10.7%
  • Shell 10.5%