Compare commits
2 commits
bd09827c56
...
e72ef905ce
Author | SHA1 | Date | |
---|---|---|---|
e72ef905ce | |||
3717327e7f |
2 changed files with 2 additions and 3 deletions
1
.github/workflows/.github-ci.yml
vendored
1
.github/workflows/.github-ci.yml
vendored
|
@ -5,7 +5,6 @@ on: push
|
|||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-22.04
|
||||
|
||||
steps:
|
||||
- name: Repository meta
|
||||
id: repository
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
FROM golang:1.24.1-alpine AS build-env
|
||||
ENV GO111MODULE=on
|
||||
WORKDIR /go/src/github.com/hugomd/ascii-live/
|
||||
RUN apk add ca-certificates
|
||||
# RUN apk add ca-certificates
|
||||
COPY . /go/src/github.com/hugomd/ascii-live/
|
||||
RUN cd /go/src/github.com/hugomd/ascii-live && \
|
||||
go mod download && \
|
||||
|
@ -9,5 +9,5 @@ RUN cd /go/src/github.com/hugomd/ascii-live && \
|
|||
|
||||
FROM scratch
|
||||
COPY --from=build-env /go/src/github.com/hugomd/ascii-live/main /
|
||||
COPY --from=build-env /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
|
||||
# COPY --from=build-env /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
|
||||
CMD ["/main"]
|
||||
|
|
Loading…
Reference in a new issue