Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .env
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# This top-level .env file under AirStack/ defines variables that are propagated through docker-compose.yaml
PROJECT_NAME="airstack"
PROJECT_VERSION="1.1.0"
PROJECT_VERSION="0.11.0"
# can replace with your docker hub username
PROJECT_DOCKER_REGISTRY="airlab-storage.andrew.cmu.edu:5001/shared"
DEFAULT_ISAAC_SCENE="omniverse://airlab-storage.andrew.cmu.edu:8443/Projects/AirStack/fire_academy.scene.usd"
PLAY_SIM_ON_START="true"
# the file under robot/docker/ that contains the robot's environment variables
ROBOT_ENV_FILE_NAME="robot.env"
ROBOT_ENV_FILE_NAME="robot.env"
51 changes: 51 additions & 0 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: Docker Build

on:
push:
branches:
- main
paths:
- '**/Dockerfile'
- '**/docker-compose.yml'
- '**/docker-compose.yaml'

jobs:
build-x86:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Build and push x86-64 images
uses: mr-smithers-excellent/docker-build-push@v6
with:
image: airstack
registry: ghcr.io
username: ${{ secrets.AIRLAB_DOCKER_REGISTRY_USERNAME }}
password: ${{ secrets.AIRLAB_DOCKER_REGISTRY_PASSWORD }}
addLatest: true
enableBuildKit: true
platform: linux/amd64

build-l4t:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Build and push L4T robot image
uses: mr-smithers-excellent/docker-build-push@v6
with:
image: airstack-robot-l4t
registry: ghcr.io
username: ${{ secrets.AIRLAB_DOCKER_REGISTRY_USERNAME }}
password: ${{ secrets.AIRLAB_DOCKER_REGISTRY_PASSWORD }}
addLatest: true
enableBuildKit: true
multiPlatform: true
platform: linux/arm64
directory: .
dockerfile: docker/robot/Dockerfile.l4t
Loading