Skip to content

Commit

Permalink
Add DockerHub login
Browse files Browse the repository at this point in the history
  • Loading branch information
enrico-ghidoni committed Mar 26, 2024
1 parent f3499dd commit 25dc30b
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
-
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 }}

0 comments on commit 25dc30b

Please sign in to comment.