Skip to content

docs: update CHANGELOG.md #108

docs: update CHANGELOG.md

docs: update CHANGELOG.md #108

Workflow file for this run

name: Docker
on: [push]
env:
KERNEL_VERSION: 6.5.9-ctsi-1
jobs:
build:
runs-on: ubuntu-22.04
permissions:
packages: write
contents: read
strategy:
matrix:
config: ["", "-rv64ima-lp64"]
steps:
- name: Checkout Source Code
uses: actions/checkout@v3
- name: Download linux
run: make download
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
- name: Docker meta
id: docker_meta
uses: docker/metadata-action@v4
with:
images: |
ghcr.io/${{ github.repository_owner }}/toolchain
docker.io/${{ github.repository_owner }}/toolchain,enable=${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/') || startsWith(github.ref, 'refs/tags/v') }}
tags: |
type=ref,event=branch,suffix=${{ matrix.config }}
type=semver,pattern={{version}},suffix=${{ matrix.config }}
- name: Login to Docker Hub
uses: docker/login-action@v2
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/') || startsWith(github.ref, 'refs/tags/v')
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Depot CLI
uses: depot/setup-action@v1
- name: Build and push docker image
uses: depot/build-push-action@v1
with:
context: .
platforms: linux/amd64,linux/arm64
tags: ${{ steps.docker_meta.outputs.tags }}
push: true
build-args: |
KERNEL_VERSION=${{ env.KERNEL_VERSION }}
TOOLCHAIN_CONFIG=configs/ct-ng-config${{ matrix.config }}
project: ${{ vars.DEPOT_PROJECT }}
token: ${{ secrets.DEPOT_TOKEN }}