Skip to content

Commit

Permalink
Merge pull request #18 from sarg3nt/update-security.md--and-trivy
Browse files Browse the repository at this point in the history
Update-security.md--and-trivy
  • Loading branch information
sarg3nt authored Oct 30, 2024
2 parents dd46b55 + fc3646d commit 3a9ae34
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/patch-upgrades-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ on:
schedule:
- cron: '0 0 * * 0' # Runs weekly
workflow_dispatch: # Allows manual triggering
pull_request:
branches:
- main

permissions: read-all

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/trivy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ jobs:
- name: Build and push Docker image
uses: docker/build-push-action@4f58ea79222b3b9dc2c8bbdd6debcef730109a75 # v6.9.0
with:
build-args: GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}
push: false
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.sha }}

Expand Down
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ LABEL org.opencontainers.image.source=https://github.com/sarg3nt/go-dev-containe

ENV TZ='America/Los_Angeles'

# Token for talking to the Github API for mise and our custom installs.
ARG GITHUB_TOKEN=""
ENV GITHUB_API_TOKEN=$GITHUB_TOKEN

# What user will be created in the dev container and will we run under.
# Reccomend not changing this.
ENV USERNAME="vscode"
Expand Down
3 changes: 2 additions & 1 deletion SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ Dependabot is used to maintain dependency versions.

## Reporting a Vulnerability

Report found vulnerabilities by contacting us at [security@sarg3.net](mailto:security@sarg3.net)
- Create an Issue for low impact vulnerabilities.
- Report high impact vulnerabilities by contacting us at [security@sarg3.net](mailto:security@sarg3.net)

0 comments on commit 3a9ae34

Please sign in to comment.