Update to DC 9.0.8 #38
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |