chore(bazel): update github ci to publish docker images #541

Closed
opened 2026-03-28 04:25:32 +00:00 by mfreeman451 · 0 comments
Owner

Imported from GitHub.

Original GitHub issue: #1687
Original author: @mfreeman451
Original URL: https://github.com/carverauto/serviceradar/issues/1687
Original created: 2025-10-03T04:49:10Z


actions:
  - name: "Build, test and publish all containers"
    triggers:
      push:
        branches:
         - "main"
    # When adding new bazel commands, also update scripts/test.sh script with the same command for local testing
    bazel_commands:
      # Setup & Authenticate
      - "run -c opt //:buildbuddy_setup_docker_auth --verbose_failures"
      # Build all targets with remote. Do NOT disable remote, otherwise the missing lib .. makes the workflow build fail.
      - "build -c opt //...  --config=remote"
      # Run Unit & Doc tests tests
      - "test  -c opt //...  --test_tag_filters=unit-test,doc-test --test_env=ENV=CI --config=remote"      
       # Build & publish container images to container registry
      - "run   -c opt //:push --config=remote"


Imported from GitHub. Original GitHub issue: #1687 Original author: @mfreeman451 Original URL: https://github.com/carverauto/serviceradar/issues/1687 Original created: 2025-10-03T04:49:10Z --- ```yml actions: - name: "Build, test and publish all containers" triggers: push: branches: - "main" # When adding new bazel commands, also update scripts/test.sh script with the same command for local testing bazel_commands: # Setup & Authenticate - "run -c opt //:buildbuddy_setup_docker_auth --verbose_failures" # Build all targets with remote. Do NOT disable remote, otherwise the missing lib .. makes the workflow build fail. - "build -c opt //... --config=remote" # Run Unit & Doc tests tests - "test -c opt //... --test_tag_filters=unit-test,doc-test --test_env=ENV=CI --config=remote" # Build & publish container images to container registry - "run -c opt //:push --config=remote" ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
carverauto/serviceradar#541
No description provided.