runtime/.github/workflows/test.yml

30 lines
588 B
YAML
Raw Normal View History

2023-11-26 01:53:10 +00:00
name: Test build
2023-11-26 01:52:15 +00:00
on:
push:
branches: [ main ]
2023-11-26 01:53:10 +00:00
2023-11-26 01:52:15 +00:00
jobs:
2023-11-26 02:20:00 +00:00
build:
2023-11-26 01:52:15 +00:00
runs-on: [moon, amd64]
container:
2023-11-26 02:03:41 +00:00
image: harbor.hq.rosti.cz/library/builder:38
2023-11-26 02:02:55 +00:00
env:
REPO: harbor.hq.rosti.cz
USERNAME: robot$rosti+rosti
2023-11-26 01:52:15 +00:00
# ports:
# - 80
# volumes:
# - my_docker_volume:/volume_mount
# options: --cpus 1
steps:
2023-11-26 02:20:00 +00:00
- uses: actions/checkout@v4
- name: Test build
2023-11-26 02:02:55 +00:00
run: |
2023-11-26 02:24:22 +00:00
echo "${{ secrets.repo_password }}" | podman login -u $USERNAME --password-stdin $REPO
# task build
# task test
2023-11-26 02:02:55 +00:00
2023-11-26 01:53:10 +00:00