Skip to content

Commit

Permalink
Regular Docker build
Browse files Browse the repository at this point in the history
Signed-off-by: Maksim Derbasov <[email protected]>
  • Loading branch information
ntfshard committed Nov 21, 2024
1 parent 52e4445 commit d83556e
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/docker-nightly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: nightly docker image builds

on:
push:
schedule:
- cron: '0 6 * * *'

jobs:
main:
runs-on: ubuntu-latest
steps:
- uses: docker/setup-buildx-action@v3
with:
driver: docker
- uses: actions/checkout@v4
with:
repository: gazebosim/gz-sim
ref: gz-sim9
path: src
- name: build base image
uses: docker/build-push-action@v6
with:
file: src/docker/Dockerfile.base
context: src
tags: gz-sim:base
load: true
- name: build nightly image
uses: docker/build-push-action@v6
with:
file: src/docker/Dockerfile.nightly
build-contexts: |
gz-sim:base=docker-image://gz-sim:base
context: src

0 comments on commit d83556e

Please sign in to comment.