-
Notifications
You must be signed in to change notification settings - Fork 12
26 lines (25 loc) · 853 Bytes
/
main.yml
File metadata and controls
26 lines (25 loc) · 853 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
name: Dependency check builder
on:
schedule:
- cron: '30 11 * * *'
workflow_dispatch:
# Needed so we can run it manually
jobs:
depcheck-builder:
runs-on: ubuntu-latest
name: Dependency_check_builder
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Build latest images
run: |
echo ${{ secrets.DOCKER_PASSWORD }} | docker login -u ${{ secrets.DOCKER_USERNAME }} --password-stdin
docker build -t owasp/dependency-check-action:latest .
docker push owasp/dependency-check-action:latest
- name: Update Published Date
run: |
git config user.email "actions@github.com"
git config user.name "GitHub Actions"
echo "Last Published: $(date)" > published.md
git commit -am "published"
git push origin main