Update to 10.0.2 #48
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@v4 | |
- 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@v4 | |
with: | |
username: stefanneuhaus | |
password: ${{ secrets.DOCKERHUB_PASSWORD }} | |
repository: stefanneuhaus/dependencycheck-central-mysql |