feat: update gitlab-ci and dockerfile

This commit is contained in:
hanif salafi 2024-03-06 22:20:48 +07:00
parent 38af871c6e
commit 297dd30c54
1 changed files with 6 additions and 5 deletions

View File

@ -1,9 +1,10 @@
stages:
- build
- build-app
- build-image
- deploy
build-app:
stage: build
build-1:
stage: build-app
image: golang:alpine
script:
- go build -o main .
@ -11,8 +12,8 @@ build-app:
paths:
- main
build-image:
stage: build
build-2:
stage: build-image
image: docker:stable
services:
- docker:dind