add qemu packages, add other useful packages #35
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| jobs: | |
| # "yocto_core" package settings must have "embedded_linux_dockerfiles" added as a source repository with write permissions | |
| build_yocto_core: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Login to Docker Hub | |
| uses: docker/login-action@v2 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.actor }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - uses: actions/checkout@v3 | |
| - name: build yocto_core | |
| run: docker build -f dockerfiles/yocto_core/Dockerfile -t ghcr.io/${{ github.actor }}/yocto_core:ubuntu2204 . | |
| - name: push yocto_core | |
| run: env && docker push ghcr.io/${{ github.actor }}/yocto_core:ubuntu2204 | |
| # "yocto_openstlinux" package settings must have "embedded_linux_dockerfiles" added as a source repository with write permissions | |
| build_yocto_openstlinux: | |
| runs-on: ubuntu-latest | |
| needs: build_yocto_core | |
| steps: | |
| - name: Login to Docker Hub | |
| uses: docker/login-action@v2 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.actor }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - uses: actions/checkout@v3 | |
| - name: build yocto_openstlinux | |
| run: docker build -f dockerfiles/yocto_openstlinux/Dockerfile -t ghcr.io/${{ github.actor }}/yocto_openstlinux:ubuntu2204 . | |
| - name: push yocto_openstlinux | |
| run: env && docker push ghcr.io/${{ github.actor }}/yocto_openstlinux:ubuntu2204 | |
| # "yocto_xlnx" package settings must have "embedded_linux_dockerfiles" added as a source repository with write permissions | |
| build_yocto_xlnx: | |
| runs-on: ubuntu-latest | |
| needs: build_yocto_core | |
| steps: | |
| - name: Login to Docker Hub | |
| uses: docker/login-action@v2 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.actor }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - uses: actions/checkout@v3 | |
| - name: build yocto_xlnx | |
| run: docker build -f dockerfiles/yocto_xlnx/Dockerfile -t ghcr.io/${{ github.actor }}/yocto_xlnx:ubuntu2204 . | |
| - name: push yocto_xlnx | |
| run: env && docker push ghcr.io/${{ github.actor }}/yocto_xlnx:ubuntu2204 | |
| # "yocto_imx" package settings must have "embedded_linux_dockerfiles" added as a source repository with write permissions | |
| build_yocto_imx: | |
| runs-on: ubuntu-latest | |
| needs: build_yocto_core | |
| steps: | |
| - name: Login to Docker Hub | |
| uses: docker/login-action@v2 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.actor }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - uses: actions/checkout@v3 | |
| - name: build yocto_imx | |
| run: DOCKER_BUILDKIT=1 docker build -f dockerfiles/yocto_imx/Dockerfile -t ghcr.io/${{ github.actor }}/yocto_imx:ubuntu2204 . | |
| - name: push yocto_imx | |
| run: env && docker push ghcr.io/${{ github.actor }}/yocto_imx:ubuntu2204 | |