Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve the Quality of Life/Developer Experience #578

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Auto detect text files and perform LF normalization
* text=auto

#
# The above will handle all files NOT found below
#

# Documents
*.pdf diff=astextplain
*.PDF diff=astextplain
*.md text diff=markdown

# Graphics
*.png binary
*.jpg binary
*.jpeg binary
*.ico binary

# Archives
*.db binary

# Text files where line endings should be preserved
*.patch -text

#
# Exclude files from exporting
#

.gitattributes export-ignore
.gitignore export-ignore
.gitkeep export-ignore
15 changes: 5 additions & 10 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,14 @@ name: Docker Image CI

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
branches: [master]

jobs:

build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
Expand All @@ -31,6 +26,6 @@ jobs:
[ "$VERSION" == "master" ] && VERSION=latest
echo IMAGE_ID=$IMAGE_ID
echo VERSION=$VERSION
docker build . --tag dvwa
docker tag dvwa $IMAGE_ID:$VERSION
docker push $IMAGE_ID:$VERSION
docker image build . --tag dvwa
docker image tag dvwa $IMAGE_ID:$VERSION
docker image push $IMAGE_ID:$VERSION
6 changes: 5 additions & 1 deletion .github/workflows/shiftleft-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@
name: SL Scan

# This section configures the trigger for the workflow. Feel free to customize depending on your convention
on: push
on:
push:
branches: [master]
pull_request:
branches: [master]

jobs:
Scan-Build:
Expand Down
Loading