forked from cloudfoundry/bosh-deployment-resource
-
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 branch 'main' into dependabot/go_modules/go_modules-00bfa375ba
- Loading branch information
Showing
11 changed files
with
32 additions
and
2,509 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
name: Security Considerations | ||
|
||
on: | ||
pull_request: | ||
types: [opened, edited, reopened] | ||
branches: [main, master, develop] | ||
|
||
jobs: | ||
security-considerations: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: cloud-gov/security-considerations-action@main |
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,8 +1,21 @@ | ||
FROM concourse/buildroot:git | ||
MAINTAINER https://github.com/cloudfoundry/bosh-deployment-resource | ||
ARG base_image | ||
ARG builder_image=concourse/golang-builder | ||
|
||
ADD check /opt/resource/check | ||
ADD in /opt/resource/in | ||
ADD out /opt/resource/out | ||
FROM ${builder_image} as builder | ||
WORKDIR /src | ||
|
||
RUN chmod +x /opt/resource/* | ||
COPY go.mod . | ||
COPY go.sum . | ||
RUN go mod download | ||
|
||
COPY . . | ||
ENV CGO_ENABLED 0 | ||
|
||
RUN go build -o /assets/in ./cmd/in | ||
RUN go build -o /assets/out ./cmd/out | ||
RUN go build -o /assets/check ./cmd/check | ||
|
||
FROM ${base_image} | ||
|
||
COPY --from=builder assets/ /opt/resource/ | ||
RUN chmod +x /opt/resource/* |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.