Automating Devops With Gitlab Ci/cd Pipelines Read Online |verified| Instant
deploy: stage: deploy trigger: project: backend/infra branch: main strategy: depend You can trigger a pipeline via API with a token:
variables: DOCKER_REGISTRY: registry.gitlab.com APP_NAME: myapp job: script: - docker build -t $DOCKER_REGISTRY/$APP_NAME . automating devops with gitlab ci/cd pipelines read online
test_job: stage: test script: - npm run test automating devops with gitlab ci/cd pipelines read online