mirror of
https://github.com/lemeow125/DRF_Template.git
synced 2024-11-17 04:09:25 +08:00
Update build step
This commit is contained in:
parent
ffb7b7c27d
commit
bb8a2137f6
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- docker build -t "$REGISTRY_IMAGE_TAG" .
|
- docker build -t "$REGISTRY_IMAGE_TAG" .
|
||||||
- echo "$FORGEJO_REGISTRY_PASSWORD" | docker login "$FORGEJO_REGISTRY_URL" --password-stdin -u "$FORGEJO_REGISTRY_USERNAME"
|
- echo "$FORGEJO_REGISTRY_PASSWORD" | docker login "$FORGEJO_REGISTRY_URL" --password-stdin -u "$FORGEJO_REGISTRY_USERNAME"
|
||||||
- docker push "$FORGEJO_REGISTRY_URL"
|
- docker push "$REGISTRY_IMAGE_TAG"
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
secrets:
|
secrets:
|
||||||
|
|
Loading…
Reference in a new issue