Skip to content

Containerize In-Vehicle Stack - Chariott #2

Containerize In-Vehicle Stack - Chariott

Containerize In-Vehicle Stack - Chariott #2

# Copyright (c) Microsoft Corporation.
# Licensed under the Apache License, Version 2.0
# SPDX-License-Identifier: Apache-2.0
name: Containerize In-Vehicle Stack - Chariott
on:
workflow_dispatch:
env:
CHARIOTT_VERSION: 0.2.1
jobs:
build-and-push:
runs-on: ubuntu-latest
permissions:
packages: write
steps:
- name: Set up Docker buildx
id: buildx
uses: docker/setup-buildx-action@v3
with:
install: true
- name: Login to the Container registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Checkout Chariott
uses: actions/checkout@v2
with:
repository: eclipse-chariott/chariott
ref: ${{ env.CHARIOTT_VERSION }}
- name: Build and push multi-platform Docker image for Chariott Service Discovery
uses: docker/build-push-action@v5
with:
context: .
file: Dockerfile.service_discovery.multi
platforms: linux/amd64,linux/arm64
push: true
tags: ghcr.io/eclipse-sdv-blueprints/software-orchestration/eclipse-chariott/service-discovery:${{ env.CHARIOTT_VERSION }}