Skip to content

Commit

Permalink
Split GitHub Actions workflows for dev environment
Browse files Browse the repository at this point in the history
  • Loading branch information
enrico-ghidoni committed Mar 26, 2024
1 parent 25dc30b commit 924378c
Showing 1 changed file with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
name: Build Owlbot Docker image
name: Build Owlbot DEV Docker image

on:
push:
branches: [ "dockerize" ]
branches: [ "dockerize", "dev" ]

jobs:

build:

runs-on: ubuntu-latest
environment: dev

steps:
-
Expand All @@ -18,10 +19,13 @@ jobs:
path: 'owlbot-repo'
-
name: Build the Docker image
run: docker build . --file owlbot-repo/Dockerfile --tag owlbot:1
run: docker build . --file owlbot-repo/Dockerfile --tag 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

0 comments on commit 924378c

Please sign in to comment.