Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
guilhermecgs committed Aug 11, 2024
1 parent d1f59db commit 788e267
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ stages:
- coverage_report
- relatorio

before_script:
- echo $CI_PIPELINE_SOURCE
- echo $CPF

# Stage to build the Docker image and push it to the registry
build:
stage: build
Expand All @@ -21,11 +25,9 @@ build:
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
- docker build -t registry.gitlab.com/guilhermecgs/ir:latest .
- docker push registry.gitlab.com/guilhermecgs/ir:latest
when: always

before_script:
- echo $CI_PIPELINE_SOURCE
- echo $CPF
rules:
- if: '$CI_PIPELINE_SOURCE == "push"'
when: always

coverage_html:
stage: coverage_report
Expand Down

0 comments on commit 788e267

Please sign in to comment.