Skip to content

Merge branch 'master' of https://github.com/davidar/bootsh #7

Merge branch 'master' of https://github.com/davidar/bootsh

Merge branch 'master' of https://github.com/davidar/bootsh #7

Workflow file for this run

name: Docker Image CI
on:
push:
branches: [ "master" ]
jobs:
docker:
runs-on: ubuntu-latest
steps:
-
name: Set up QEMU
uses: docker/setup-qemu-action@v3
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
-
name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: davidar
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build and export to Docker
uses: docker/build-push-action@v5
with:
load: true
tags: davidar/bootsh:latest
-
name: Checkout
uses: actions/checkout@v4
-
name: Test
run: |
docker run --rm \
-v $PWD/test-cc:/tmp/test-cc \
-v $PWD/lib/toybox:/tmp/lib/toybox \
-v $PWD/tarballs:/src/tarballs \
davidar/bootsh:latest test-host
-
name: Build and push
uses: docker/build-push-action@v5
with:
push: true
tags: davidar/bootsh:latest