This commit is contained in:
parent
9df715ee25
commit
6b5cfcadb0
1 changed files with 2 additions and 2 deletions
|
@ -4,8 +4,8 @@ steps:
|
|||
commands:
|
||||
- version=$(cat version)
|
||||
- docker login gitea.qpismont.fr -u="$${DOCKER_USERNAME}" -p="$${DOCKER_PASSWORD}"
|
||||
- docker build . --tag gitea.qpismont.fr/qpismont/portfolio:${version}
|
||||
- docker push gitea.qpismont.fr/qpismont/portfolio:${version}
|
||||
- docker build . --tag gitea.qpismont.fr/qpismont/portfolio:$version
|
||||
- docker push gitea.qpismont.fr/qpismont/portfolio:$version
|
||||
when:
|
||||
branch: ${CI_REPO_DEFAULT_BRANCH}
|
||||
event: push
|
||||
|
|
Loading…
Reference in a new issue