Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/go_modules/go_modules-00bfa375ba
Browse files Browse the repository at this point in the history
  • Loading branch information
bengerman13 committed Jun 14, 2024
2 parents 445e66f + f5942b3 commit a1e2e46
Show file tree
Hide file tree
Showing 11 changed files with 32 additions and 2,509 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/security-considerations.yml
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
25 changes: 19 additions & 6 deletions Dockerfile
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/*
321 changes: 0 additions & 321 deletions ci/pipeline.yml

This file was deleted.

16 changes: 0 additions & 16 deletions ci/tasks/build.sh

This file was deleted.

Loading

0 comments on commit a1e2e46

Please sign in to comment.