Test pipeline
This commit is contained in:
parent
940d2b7f01
commit
73b5ce09e3
2 changed files with 21 additions and 2 deletions
|
@ -4,7 +4,7 @@ name: image building
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build&push squashed image
|
- name: build&push squashed image
|
||||||
image: harbor.hq.rosti.cz/library/builder:38
|
image: harbor.hq.rosti.cz/library/builder:39
|
||||||
environment:
|
environment:
|
||||||
username: robot$rosti+rosti
|
username: robot$rosti+rosti
|
||||||
password:
|
password:
|
||||||
|
@ -29,7 +29,7 @@ name: test image
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: test build
|
- name: test build
|
||||||
image: harbor.hq.rosti.cz/library/builder:38
|
image: harbor.hq.rosti.cz/library/builder:39
|
||||||
environment:
|
environment:
|
||||||
username: robot$rosti+rosti
|
username: robot$rosti+rosti
|
||||||
password:
|
password:
|
19
.github/workflows/test.yml
vendored
Normal file
19
.github/workflows/test.yml
vendored
Normal 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)
|
Loading…
Reference in a new issue