This commit is contained in:
parent
260ce5dfd3
commit
3f80530786
1 changed files with 4 additions and 4 deletions
|
|
@ -30,8 +30,8 @@ steps:
|
|||
tags:
|
||||
- latest
|
||||
- "sha-${CI_COMMIT_SHA:0:8}"
|
||||
cache_from: "type=registry,ref=git.ihateamerica.ru/dv/intrabot:buildcache"
|
||||
cache_to: "type=registry,ref=git.ihateamerica.ru/dv/intrabot:buildcache,mode=max"
|
||||
cache_from: "git.ihateamerica.ru/dv/intrabot:buildcache"
|
||||
cache_to: "git.ihateamerica.ru/dv/intrabot:buildcache"
|
||||
when:
|
||||
- event: push
|
||||
branch: main
|
||||
|
|
@ -52,8 +52,8 @@ steps:
|
|||
- "${CI_COMMIT_TAG}" # v1.2.3
|
||||
- latest
|
||||
- "sha-${CI_COMMIT_SHA:0:8}" # всегда — нужно для отката
|
||||
cache_from: "type=registry,ref=git.ihateamerica.ru/dv/intrabot:buildcache"
|
||||
cache_to: "type=registry,ref=git.ihateamerica.ru/dv/intrabot:buildcache,mode=max"
|
||||
cache_from: "git.ihateamerica.ru/dv/intrabot:buildcache"
|
||||
cache_to: "git.ihateamerica.ru/dv/intrabot:buildcache"
|
||||
when:
|
||||
- event: tag
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue