Skip to content

Commit

Permalink
CI/CD add git
Browse files Browse the repository at this point in the history
  • Loading branch information
jordimas committed Nov 20, 2023
1 parent 16289dd commit 923d553
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ stages:
build:
stage: build
before_script:
- apk add --no-cache git
- export SRC_HASH=$(git rev-parse HEAD)
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
script:
Expand Down Expand Up @@ -45,6 +46,7 @@ test:
publish:
stage: publish
before_script:
- apk add --no-cache git
- export SRC_HASH=$(git rev-parse HEAD)
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
script:
Expand Down

0 comments on commit 923d553

Please sign in to comment.