ci: variable for name
This commit is contained in:
parent
7193f01458
commit
933080c810
1 changed files with 10 additions and 10 deletions
|
@ -38,21 +38,21 @@ steps:
|
||||||
- source .variables
|
- source .variables
|
||||||
- |
|
- |
|
||||||
docker buildx build \
|
docker buildx build \
|
||||||
--tag registry.mgrote.net/mkdocs \
|
--tag registry.mgrote.net/$CI_REPO_NAME \
|
||||||
--tag registry.mgrote.net/mkdocs:${CI_COMMIT_SHA:0:8} \
|
--tag registry.mgrote.net/$CI_REPO_NAME:${CI_COMMIT_SHA:0:8} \
|
||||||
--tag registry.mgrote.net/mkdocs:${CI_COMMIT_BRANCH} \
|
--tag registry.mgrote.net/$CI_REPO_NAME:${CI_COMMIT_BRANCH} \
|
||||||
--tag registry.mgrote.net/mkdocs:latest \
|
--tag registry.mgrote.net/$CI_REPO_NAME:latest \
|
||||||
--tag registry.mgrote.net/mkdocs:$VERSION \
|
--tag registry.mgrote.net/$CI_REPO_NAME:$VERSION \
|
||||||
--label org.opencontainers.image.url=$CI_REPO_URL \
|
--label org.opencontainers.image.url=$CI_REPO_URL \
|
||||||
--label org.opencontainers.image.source=$CI_REPO_URL \
|
--label org.opencontainers.image.source=$CI_REPO_URL \
|
||||||
--label org.opencontainers.image.revision=$CI_COMMIT_SHA \
|
--label org.opencontainers.image.revision=$CI_COMMIT_SHA \
|
||||||
--label org.opencontainers.image.created=$DATE \
|
--label org.opencontainers.image.created=$DATE \
|
||||||
--file Dockerfile .
|
--file Dockerfile .
|
||||||
- docker push registry.mgrote.net/mkdocs:${CI_COMMIT_SHA:0:8}
|
- docker push registry.mgrote.net/$CI_REPO_NAME:${CI_COMMIT_SHA:0:8}
|
||||||
- docker push registry.mgrote.net/mkdocs:${CI_COMMIT_BRANCH}
|
- docker push registry.mgrote.net/$CI_REPO_NAME:${CI_COMMIT_BRANCH}
|
||||||
- docker push registry.mgrote.net/mkdocs:latest
|
- docker push registry.mgrote.net/$CI_REPO_NAME:latest
|
||||||
- docker push registry.mgrote.net/mkdocs:$VERSION
|
- docker push registry.mgrote.net/$CI_REPO_NAME:$VERSION
|
||||||
- docker push registry.mgrote.net/mkdocs
|
- docker push registry.mgrote.net/$CI_REPO_NAME
|
||||||
when:
|
when:
|
||||||
- evaluate: 'CI_COMMIT_AUTHOR_EMAIL != "renovate@mgrote.net"'
|
- evaluate: 'CI_COMMIT_AUTHOR_EMAIL != "renovate@mgrote.net"'
|
||||||
...
|
...
|
||||||
|
|
Loading…
Reference in a new issue