Skip to content

Docker

Docker #390

Workflow file for this run

name: Docker
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
schedule:
- cron: '0 6 * * *' # once a day at 6AM UTC (1AM/EST, 2AM/EDT)
workflow_dispatch:
# To test workflow updates you need to work in a branch directly on viamrobotics/rdk
# and tag your working branch instead of @main in any viamrobotics/rdk "uses" below.
# Don't forget to tag back to @main before merge.
jobs:
canon-cache:
name: Build Canon Cache Docker Images
strategy:
matrix:
include:
- arch: [ubuntu-latest]
image: ghcr.io/viamrobotics/canon:amd64
platform: linux/amd64
make_target: 'canon-cache-amd64-ci'
- arch: [buildjet-2vcpu-ubuntu-2204-arm]
image: ghcr.io/viamrobotics/canon:arm64
platform: linux/arm64
make_target: 'canon-cache-arm64-ci'
runs-on: ${{ matrix.arch }}
container:
image: ${{ matrix.image }}
options: --platform ${{ matrix.platform }}
timeout-minutes: 30
steps:
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Check out code
uses: actions/checkout@v3
- name: Build and Push
run: |
make ${{ matrix.make_target}}
test:
needs: canon-cache
uses: viamrobotics/rdk/.github/workflows/test.yml@main

Check failure on line 50 in .github/workflows/docker.yml

View workflow run for this annotation

GitHub Actions / Docker

Invalid workflow file

The workflow is not valid. .github/workflows/docker.yml (Line: 50, Col: 11): Secret DOCKER_PUBLIC_READONLY_PAT is required, but not provided while calling.
secrets:
MONGODB_TEST_OUTPUT_URI: ${{ secrets.MONGODB_TEST_OUTPUT_URI }}
antique-cache:
name: Build Antique Cache Docker Images
strategy:
matrix:
include:
- arch: [ubuntu-latest]
image: ghcr.io/viamrobotics/canon:amd64
platform: linux/amd64
make_target: 'antique-cache-amd64-ci'
- arch: [buildjet-2vcpu-ubuntu-2204-arm]
image: ghcr.io/viamrobotics/canon:arm64
platform: linux/arm64
make_target: 'antique-cache-arm64-ci'
runs-on: ${{ matrix.arch }}
container:
image: ${{ matrix.image }}
options: --platform ${{ matrix.platform }}
timeout-minutes: 30
steps:
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Check out code
uses: actions/checkout@v3
- name: Build and Push
run: |
make ${{ matrix.make_target}}