From 8673811bb5f190041570bd0b5907b27190467698 Mon Sep 17 00:00:00 2001 From: openhands Date: Thu, 20 Feb 2025 16:43:00 +0000 Subject: [PATCH 1/2] Add Docker build GitHub Action workflow --- .github/workflows/docker-build.yml | 51 ++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 .github/workflows/docker-build.yml diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml new file mode 100644 index 000000000..a4ab6da71 --- /dev/null +++ b/.github/workflows/docker-build.yml @@ -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 \ No newline at end of file From 958e2c6145d142b02342cb8fad7fe6057aa03dc8 Mon Sep 17 00:00:00 2001 From: Andrew Jong Date: Thu, 20 Feb 2025 11:45:41 -0500 Subject: [PATCH 2/2] Change versioning to 0.xx.x to denote alpha state Addresses issue #216 --- .env | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.env b/.env index d60b33832..5de451bdd 100644 --- a/.env +++ b/.env @@ -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" \ No newline at end of file +ROBOT_ENV_FILE_NAME="robot.env"