forked from viam-modules/viam-camera-realsense
-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (38 loc) · 964 Bytes
/
Copy pathdocker.yml
File metadata and controls
43 lines (38 loc) · 964 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: Publish Docker
on:
workflow_dispatch:
inputs:
branch:
description: 'Branch to build from'
required: false
default: 'main'
push:
branches:
- 'main'
paths:
- 'etc/Dockerfile.debian.bookworm'
jobs:
docker:
name: Build Docker Image
permissions:
packages: write
timeout-minutes: 45
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: ubuntu-latest
make_target: docker-amd64-ci
- os: buildjet-16vcpu-ubuntu-2204-arm
make_target: docker-arm64-ci
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 }}