diff --git a/.drone.yml b/.drone.off.yml similarity index 89% rename from .drone.yml rename to .drone.off.yml index 9b6a959..a6b40c6 100644 --- a/.drone.yml +++ b/.drone.off.yml @@ -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: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..577102a --- /dev/null +++ b/.github/workflows/test.yml @@ -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)