30 lines
588 B
YAML
30 lines
588 B
YAML
name: Test build
|
|
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: [moon, amd64]
|
|
container:
|
|
image: harbor.hq.rosti.cz/library/builder:38
|
|
env:
|
|
REPO: harbor.hq.rosti.cz
|
|
USERNAME: robot$rosti+rosti
|
|
# ports:
|
|
# - 80
|
|
# volumes:
|
|
# - my_docker_volume:/volume_mount
|
|
# options: --cpus 1
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Test build
|
|
run: |
|
|
echo "${{ secrets.repo_password }}" | podman login -u $USERNAME --password-stdin $REPO
|
|
# task build
|
|
# task test
|
|
|
|
|
|
|