Test pipeline

This commit is contained in:
Adam Štrauch 2023-11-26 02:52:15 +01:00
parent 940d2b7f01
commit 73b5ce09e3
Signed by: cx
GPG Key ID: 7262DAFE292BCE20
2 changed files with 21 additions and 2 deletions

View File

@ -4,7 +4,7 @@ name: image building
steps:
- name: build&push squashed image
image: harbor.hq.rosti.cz/library/builder:38
image: harbor.hq.rosti.cz/library/builder:39
environment:
username: robot$rosti+rosti
password:
@ -29,7 +29,7 @@ name: test image
steps:
- name: test build
image: harbor.hq.rosti.cz/library/builder:38
image: harbor.hq.rosti.cz/library/builder:39
environment:
username: robot$rosti+rosti
password:

19
.github/workflows/test.yml vendored Normal file
View File

@ -0,0 +1,19 @@
name: CI
on:
push:
branches: [ main ]
jobs:
container-test-job:
runs-on: [moon, amd64]
container:
image: node:18
# env:
# NODE_ENV: development
# ports:
# - 80
# volumes:
# - my_docker_volume:/volume_mount
# options: --cpus 1
steps:
- name: Check for dockerenv file
run: (ls /.dockerenv && echo Found dockerenv) || (echo No dockerenv)