This commit is contained in:
parent
435bf7d5c1
commit
71582971e6
1 changed files with 3 additions and 2 deletions
|
@ -7,10 +7,11 @@ pipeline:
|
||||||
image: docker:23-cli
|
image: docker:23-cli
|
||||||
privileged: true
|
privileged: true
|
||||||
commands:
|
commands:
|
||||||
|
- apk add git
|
||||||
- docker buildx build --no-cache -t dev.cat-enby.club/nikurasu/cobalt:latest -t dev.cat-enby.club/nikurasu/cobalt:$(date "+%Y-%m-%d") -f Dockerfile .
|
- docker buildx build --no-cache -t dev.cat-enby.club/nikurasu/cobalt:latest -t dev.cat-enby.club/nikurasu/cobalt:$(date "+%Y-%m-%d") -f Dockerfile .
|
||||||
- docker login -u $USER -p $PASSWORD dev.cat-enby.club
|
- docker login -u $USER -p $PASSWORD dev.cat-enby.club
|
||||||
- docker push dev.cat-enby.club/nikurasu/static-hoster:latest
|
- docker push dev.cat-enby.club/nikurasu/cobalt:latest
|
||||||
- docker push dev.cat-enby.club/nikurasu/static-hoster:$(date "+%Y-%m-%d")
|
- docker push dev.cat-enby.club/nikurasu/cobalt:$(date "+%Y-%m-%d")
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
secrets: [ user, password ]
|
secrets: [ user, password ]
|
||||||
|
|
Loading…
Reference in a new issue