Skip to content

Latest commit

 

History

History
37 lines (32 loc) · 516 Bytes

README.md

File metadata and controls

37 lines (32 loc) · 516 Bytes

Hello dagger

Requires

  • Above Go version 1.20
  • OCI container environment
  • dagger

steps

  1. Init source code
$ mkdir src 
$ cd src
$ go mod init hello_dagger
  • Write a source code
  1. Init CI code
# Must move a project root directory
$ go mod init ci
# Install degger
$ go get dagger.io/dagger@latest
  • Write a ci code
  1. Add Github Action
# make directories
$ mkdir .github
$ mkdir .github/workflows/
  • Write a github action yaml