diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 9b26db0..43360ef 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -10,12 +10,18 @@ jobs: build: - runs-on: [windows-latest] + runs-on: windows-latest steps: - uses: actions/checkout@v3 - name: Build the Docker image run: docker build . --file Dockerfile --tag shivamgutgutia/vcfgenerator + - name: Login to Docker Hub + uses: docker/login-action@v1 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + - name: Push Docker image to Docker Hub run: docker push shivamgutgutia/vcfgenerator