Skip to content
Snippets Groups Projects
Commit 1dbf6502 authored by Alex Kanitz's avatar Alex Kanitz
Browse files

test publishing

parent 7cb1abb6
Branches
No related tags found
1 merge request!5ci: add GitLab CI config
Pipeline #14459 failed
......@@ -4,14 +4,14 @@ default:
test:
rules:
- if: $CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
script:
- docker build -t testimage:latest .
- docker run --rm -it testimage:latest tests/test.sh
publish:
test_and_publish:
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
- if: $CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH
script:
- export VERSION=$(grep 'version <-' ascii_alignment_pileup.R | cut -f2 -d'"')
- export IMAGE="${DOCKER_ORG}/${DOCKER_REPO}:${VERSION}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment