name: dropshell-build run-name: Build test and publish dropshell-build on: [push] defaults: run: shell: bash jobs: build: strategy: matrix: platform: - linux/amd64 - linux/arm64 runs-on: ${{ matrix.platform }} steps: - name: Checkout uses: actions/checkout@v4 - name: Login to Gitea uses: docker/login-action@v3 with: registry: gitea.jde.nz username: DoesntMatter password: ${{ secrets.DOCKER_PUSH_TOKEN }} - name: Build Base run: | cd build-base && ./build.sh - name: Build Test Applications run: | cd tests && ./build.sh - name: Run Tests run: | cd tests && ./test.sh - name: Publish as Latest run: | cd build-base && \ SOS_WRITE_TOKEN=${{ secrets.SOS_WRITE_TOKEN }} \ DOCKER_PUSH_TOKEN=${{ secrets.DOCKER_PUSH_TOKEN }} \ ./publish.sh