Skip to content

Commit

Permalink
Merge pull request #56 from mkhansenbot/add_build_actions
Browse files Browse the repository at this point in the history
Add build actions on pull request and on demand
  • Loading branch information
EzraBrooks authored Jul 27, 2023
2 parents 0080dfe + 8e0f097 commit cb745d0
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
name: Docker build
on:
workflow_dispatch:
push:
branches: ['main']
pull_request:
branches: ['main']
schedule:
- cron: '0 2 * * *'
jobs:
Expand All @@ -13,6 +15,15 @@ jobs:
uses: actions/checkout@v2
- name: Set up buildx
uses: docker/setup-buildx-action@v1
- name: Build moveit2 image
uses: docker/build-push-action@v2
with:
context: moveit2
push: false
tags: openrobotics/moveit2
cache-from: type=gha
cache-to: type=gha,mode=max
no-cache: true
- name: Build space robots demo image
uses: docker/build-push-action@v2
with:
Expand Down

0 comments on commit cb745d0

Please sign in to comment.