Make sure to switch to branch.
This commit is contained in:
parent
7df0cc386c
commit
8b83a0cbc8
1 changed files with 1 additions and 1 deletions
|
|
@ -24,7 +24,7 @@ stages:
|
|||
- "*/build"
|
||||
before_script:
|
||||
- echo -n $CI_REGISTRY_PASSWORD | podman login -u "$CI_REGISTRY_USER" --password-stdin $CI_REGISTRY
|
||||
- git switch $CI_COMMIT_REF_NAME
|
||||
- git switch $CI_COMMIT_BRANCH
|
||||
- git pull
|
||||
- git reset --hard $CI_COMMIT_SHA
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue