forked from rarimo/passport-identity-provider
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from rarimo/feature/algorithms-support
Add SHA256withRSA-PSS pair. Add SHA384withECDSA pair. Overhaul hashin…
- Loading branch information
Showing
80 changed files
with
26,050 additions
and
18,787 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,7 @@ on: | |
# - v* | ||
branches: | ||
- main | ||
- feature/* | ||
|
||
jobs: | ||
deploy_pages: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,4 @@ config.*.yaml | |
docs/node_modules | ||
docs/web_deploy | ||
vendor/ | ||
docker-compose.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,26 @@ | ||
FROM golang:1.21.6-alpine as buildbase | ||
FROM golang:1.23.4-alpine as buildbase | ||
|
||
RUN apk add git build-base | ||
ARG CI_JOB_TOKEN | ||
|
||
WORKDIR /go/src/github.com/rarimo/passport-identity-provider | ||
COPY vendor . | ||
RUN apk add git build-base ca-certificates | ||
WORKDIR /go/src/github.com/rarimo/incognito-light-registrator | ||
COPY . . | ||
|
||
RUN GOOS=linux go build -o /usr/local/bin/identity-provider-service /go/src/github.com/rarimo/passport-identity-provider | ||
RUN git config --global url."https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com".insteadOf https://gitlab.com | ||
RUN git config --global url."https://${CI_JOB_TOKEN}@github.com/".insteadOf https://github.com/ | ||
|
||
RUN go mod tidy && go mod vendor | ||
RUN CGO_ENABLED=1 GO111MODULE=on GOOS=linux go build -o /usr/local/bin/incognito-light-registrator /go/src/github.com/rarimo/incognito-light-registrator | ||
|
||
FROM alpine:3.9 | ||
FROM scratch | ||
|
||
COPY --from=buildbase /usr/local/bin/identity-provider-service /usr/local/bin/identity-provider-service | ||
RUN apk add --no-cache ca-certificates | ||
COPY --from=alpine:3.9 /bin/sh /bin/sh | ||
COPY --from=alpine:3.9 /usr /usr | ||
COPY --from=alpine:3.9 /lib /lib | ||
|
||
ENTRYPOINT ["identity-provider-service"] | ||
COPY --from=buildbase /usr/local/bin/incognito-light-registrator /usr/local/bin/incognito-light-registrator | ||
COPY --from=buildbase /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ | ||
COPY --from=buildbase /go/src/github.com/rarimo/incognito-light-registrator/verification_keys/* /verification_keys/ | ||
COPY --from=buildbase /go/src/github.com/rarimo/incognito-light-registrator/masterList.dev.pem /masterList.dev.pem | ||
|
||
ENTRYPOINT ["incognito-light-registrator"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.