Update build.yml

This commit is contained in:
Kroese 2023-03-28 19:05:21 +02:00 committed by GitHub
parent f792aa2cb0
commit 60fb82f354

View File

@ -15,8 +15,8 @@ jobs:
name: Build the Docker image name: Build the Docker image
run: docker build . --file Dockerfile --tag kroese/virtual-dsm:latest --tag kroese/virtual-dsm:${{ secrets.MAJOR }}.${{ secrets.MINOR }} run: docker build . --file Dockerfile --tag kroese/virtual-dsm:latest --tag kroese/virtual-dsm:${{ secrets.MAJOR }}.${{ secrets.MINOR }}
- -
name: Login to DockerHub name: Login to Docker Hub
uses: docker/login-action@v1 uses: docker/login-action@v2
with: with:
username: ${{ secrets.DOCKERHUB_USERNAME }} username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }} password: ${{ secrets.DOCKERHUB_TOKEN }}