runtime/.github/workflows/test.yml

29 lines
575 B
YAML

name: Test build
on:
push:
branches: [ main ]
jobs:
build-test:
runs-on: [moon, amd64]
container:
image: harbor.hq.rosti.cz/library/builder:39
env:
REPO: harbor.hq.rosti.cz
USERNAME: robot$rosti+rosti
# ports:
# - 80
# volumes:
# - my_docker_volume:/volume_mount
# options: --cpus 1
steps:
- name: Check for dockerenv file
run: |
echo "${{ secrets.repo_password }}" | podman login -u $USERNAME --password-stdin $REPO
task build
task test