diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 82c4add..f9076e8 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -43,8 +43,8 @@ jobs: push: true tags: | ghcr.io/scheiblingco/smtp-relay:latest - ghcr.io/scheiblingco/smtp-relay:0.5.1 + ghcr.io/scheiblingco/smtp-relay:0.5.2 docker.io/scheibling/smtp-relay:latest - docker.io/scheibling/smtp-relay:0.5.1 + docker.io/scheibling/smtp-relay:0.5.2 \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 87aada5..5d6f4b5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,6 +13,10 @@ FROM scratch COPY --from=builder /build/smtp-relay /smtp-relay COPY --from=builder /build/config.example.json /config.json +RUN apk --no-cache add ca-certificates \ + && update-ca-certificates \ + && rm -rf /var/cache/apk/* + EXPOSE 2525 CMD ["/smtp-relay"] \ No newline at end of file