diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 3af3ccc..67e3de7 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -11,8 +11,17 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - + name: Checkout repository + uses: actions/checkout@v4 with: path: 'owlbot-repo' - - name: Build the Docker image - run: docker build . --file owlbot-repo/Dockerfile --tag owlbot:1 \ No newline at end of file + - + name: Build the Docker image + run: docker build . --file owlbot-repo/Dockerfile --tag owlbot:1 + - + name: Authenticate to CNTO DockerHub + uses: docker/login-action@v3 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }}