Skip to content

Automate the docker image base operating system build #14

Automate the docker image base operating system build

Automate the docker image base operating system build #14

Workflow file for this run

name: Docker image build - base OS
on:
pull_request:
branches: [ "ngeet-2024" ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
platform: [amd64, arm64]
steps:
- name: checkout
uses: actions/checkout@v4
- name: Docker QEMU
uses: docker/setup-qemu-action@v3
- name: Docker Setup Buildx
uses: docker/[email protected]
env:
DOCKER_CONFIG: docker/baseos/gcc1120
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v6
with:
platform: linux/${{ matrix.platform }}
context: "{{defaultContext}}:docker/baseos/gcc1120"
push: true
tags: ngeetropics/baseos:testbuild-${{ matrix.platform }}