Skip to content

Add README and docker-compose #6

Add README and docker-compose

Add README and docker-compose #6

name: Build Owlbot DEV Docker image
on:
push:
branches: [ "dockerize", "dev" ]
jobs:
build:
runs-on: ubuntu-latest
environment: dev
steps:
-
name: Checkout repository
uses: actions/checkout@v4
with:
path: 'owlbot-repo'
-
name: Build the Docker image
run: docker build . --file owlbot-repo/Dockerfile --tag cntoarma/owlbot:dev
-
name: Authenticate to CNTO DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Publish image to DockerHub
run: docker image push cntoarma/owlbot:dev