Add --list-builtins and remove duplicates #10
This file contains 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: 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 |