Skip to content

Add DockerHub login

Add DockerHub login #5

Workflow file for this run

name: Build Owlbot Docker image
on:
push:
branches: [ "dockerize" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
-
name: Build the Docker image
uses: actions/checkout@v4
with:
path: 'owlbot-repo'
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 }}