Skip to content

Build Edge images #1690

Build Edge images

Build Edge images #1690

name: Build Edge images
on:
schedule:
- cron: '0 15 * * *'
push:
paths:
- '**/Dockerfile.edge'
- '.github/workflows/build-edge-images.yml'
jobs:
build_edge:
name: Build the HEAD Roswell
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
with:
image: tonistiigi/binfmt:qemu-v8.1.5
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
if: github.ref == 'refs/heads/master'
uses: docker/login-action@v1
with:
username: fukamachi
password: ${{ secrets.DOCKER_HUB_PASSWORD }}
- name: Build and publish edge image
env:
DOCKER_HUB_PASSWORD: ${{ secrets.DOCKER_HUB_PASSWORD }}
ARCH: linux/amd64,linux/arm64
run: |
BUILD_ARGS=""
if [ "$GITHUB_REF" = "refs/heads/master" ]; then
BUILD_ARGS="--push"
fi
BUILD_ARGS=$BUILD_ARGS ./build.sh roswell edge debian $build_arg
./test.sh roswell edge debian
BUILD_ARGS=$BUILD_ARGS ./build.sh sbcl edge debian $build_arg
./test.sh sbcl edge debian