Build test pipeline
Some checks failed
Test build / build-test (push) Failing after 4s

This commit is contained in:
Adam Štrauch 2023-11-26 03:02:55 +01:00
parent c397e365dc
commit 9bd5aefd76
Signed by: cx
GPG key ID: 7262DAFE292BCE20
2 changed files with 10 additions and 19 deletions

View file

@ -5,12 +5,13 @@ on:
branches: [ main ] branches: [ main ]
jobs: jobs:
build: build-test:
runs-on: [moon, amd64] runs-on: [moon, amd64]
container: container:
image: node:18 image: harbor.hq.rosti.cz/library/builder:39
# env: env:
# NODE_ENV: development REPO: harbor.hq.rosti.cz
USERNAME: robot$rosti+rosti
# ports: # ports:
# - 80 # - 80
# volumes: # volumes:
@ -18,6 +19,10 @@ jobs:
# options: --cpus 1 # options: --cpus 1
steps: steps:
- name: Check for dockerenv file - name: Check for dockerenv file
run: (ls /.dockerenv && echo Found dockerenv) || (echo No dockerenv) run: |
echo "${{ secrets.repo_password }}" | podman login -u $USERNAME --password-stdin $REPO
task build
task test

View file

@ -1,14 +0,0 @@
name: Image testing
on:
- push
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: testing
run: |
make build
make test