Test pipeline
This commit is contained in:
parent
940d2b7f01
commit
73b5ce09e3
@ -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
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 New Issue
Block a user