Skip to content

add ruyi-toolchain Dockerfile #5

add ruyi-toolchain Dockerfile

add ruyi-toolchain Dockerfile #5

Workflow file for this run

name: PostMerge Push Docker
on:
# This workflow only runs when triggered by a push event also can be manually triggered
workflow_dispatch:
push:
# Only runs when take push events on certain branch
branches: [ linux-6.6 ]
# Only runs take push changes Dockerfile
paths:
- 'docker/xuantie-qemu/Dockerfile'
- 'docker/ruyi-toolchain/Dockerfile'
jobs:
docker-qemu-push:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to GHCR
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push xuantie-qemu
uses: docker/build-push-action@v5
with:
file: ./docker/xuantie-qemu/Dockerfile
tags: ghcr.io/ruyisdk/linux-xuantie-kernel/xuantie-qemu:latest
push: true
- name: Build and push ruyi-toolchain
uses: docker/build-push-action@v5
with:
file: ./docker/ruyi-toolchain/Dockerfile
tags: ghcr.io/ruyisdk/linux-xuantie-kernel/ruyi-toolchain:latest
push: true