Skip to content
This repository was archived by the owner on Sep 23, 2021. It is now read-only.

Commit bd64005

Browse files
committed
Make build
1 parent be7a857 commit bd64005

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

.dockerignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.git/
2+
.idea/
3+
*.swp
4+

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,4 @@ _testmain.go
2323
bin/
2424
src/
2525
slides/
26+
main

Makefile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
REPO=msoedov/hacker-slides
2+
3+
4+
build:
5+
@GOOS=linux CGO_ENABLE=0 go build main.go
6+
@docker build -t $(REPO) .
7+
8+
push:
9+
@docker push $(REPO)
10+

0 commit comments

Comments
 (0)