Skip to content

Update to DC 9.0.8

Update to DC 9.0.8 #38

name: Build Docker Image
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build Docker image
run: docker build -t stefanneuhaus/dependencycheck-central-mysql:latest .
- name: Login and push to DockerHub
env:
DH_PWD: ${{ secrets.DOCKERHUB_PASSWORD }}
run: |
echo $DH_PWD | docker login -u stefanneuhaus --password-stdin
docker push stefanneuhaus/dependencycheck-central-mysql:latest
- name: Update DockerHub Description
uses: peter-evans/dockerhub-description@v3
with:
username: stefanneuhaus
password: ${{ secrets.DOCKERHUB_PASSWORD }}
repository: stefanneuhaus/dependencycheck-central-mysql