Updated Dockerfile and build.yaml
All checks were successful
Build Pogdark API / Build Pogdark API (push) Successful in 9m41s
All checks were successful
Build Pogdark API / Build Pogdark API (push) Successful in 9m41s
This commit is contained in:
parent
bd3036e537
commit
07a0eb2f2e
@ -30,6 +30,10 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
go build -o pogdark-api .
|
go build -o pogdark-api .
|
||||||
|
|
||||||
|
- name: Confirm file presence
|
||||||
|
run: |
|
||||||
|
ls -al .
|
||||||
|
|
||||||
- name: Build Docker Image
|
- name: Build Docker Image
|
||||||
run: |
|
run: |
|
||||||
docker build -t localhost:5000/pogdark-api:latest .
|
docker build -t localhost:5000/pogdark-api:latest .
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
FROM scratch
|
FROM scratch
|
||||||
WORKDIR /app
|
COPY ./pogdark-api /app/
|
||||||
COPY pogdark-api /app/
|
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
CMD ["/app/pogdark-api"]
|
CMD ["/app/pogdark-api"]
|
Loading…
Reference in New Issue
Block a user