SC-1023 set up cron scans in all repos #414
Workflow file for this run
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
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json | |
on: [push] | |
name: ci | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
env: | |
DOCKER_BUILDKIT: "1" | |
COMPOSE_DOCKER_CLI_BUILD: "1" | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: true | |
fetch-depth: 0 | |
- uses: docker/setup-buildx-action@v2 | |
id: buildx | |
with: | |
install: true | |
- name: apt install | |
run: | | |
sudo apt-get update -qq | |
sudo apt-get install -qq boxes | |
- uses: docker/metadata-action@v4 | |
id: meta | |
env: | |
DOCKER_METADATA_PR_HEAD_SHA: "true" | |
with: | |
images: ghcr.io/lotusflare/lucas | |
tags: | | |
type=semver,pattern={{version}} | |
- uses: docker/build-push-action@v4 | |
with: | |
builder: ${{ steps.buildx.outputs.name }} | |
tags: ${{ steps.meta.outputs.tags }} | |
labels: ${{ steps.meta.outputs.labels }} | |
load: true | |
context: . | |
target: artifacts | |
file: Dockerfile | |
cache-from: type=gha | |
cache-to: type=gha | |
- name: Integration tests | |
run: | | |
./start.sh -bt |