docs: update hmi image (#58) #32
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build and push Docker image | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - development | |
| workflow_dispatch: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build-and-push: | |
| runs-on: [self-hosted, cpu, heavy, gpu] | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| with: | |
| lfs: true | |
| - name: Log in to Docker Hub | |
| uses: docker/login-action@v3 | |
| with: | |
| username: ${{ secrets.DOCKERHUB_USERNAME }} | |
| password: ${{ secrets.DOCKERHUB_TOKEN }} | |
| - name: Build and push all images | |
| env: | |
| AMM_IMG_SUFFIX: ${{ env.SUFFIX }} | |
| run: | | |
| docker compose -f docker/compose.yaml build | |
| docker compose -f docker/compose.yaml push | |
| smoke-test: | |
| needs: build-and-push | |
| runs-on: [self-hosted, cpu, heavy, gpu] | |
| steps: | |
| - name: Log in to Docker Hub | |
| uses: docker/login-action@v3 | |
| with: | |
| username: ${{ secrets.DOCKERHUB_USERNAME }} | |
| password: ${{ secrets.DOCKERHUB_TOKEN }} | |
| - name: Headless sim smoke test (/clock) | |
| run: | | |
| IMAGE="robotecai/agentic-mobile-manipulator-o3de:latest" | |
| docker pull "$IMAGE" | |
| docker run --rm --entrypoint pixi "$IMAGE" run sim-smoke | |