17 lines
641 B
Bash
17 lines
641 B
Bash
|
|
cd ~/sozsoft-platform
|
|||
|
|
git checkout main
|
|||
|
|
git fetch && git pull
|
|||
|
|
|
|||
|
|
cd ~/sozsoft-platform/api
|
|||
|
|
|
|||
|
|
# DevExpress lisansını dosyadan oku (GitHub'a commit edilmemiş)
|
|||
|
|
DEVEXPRESS_LICENSE=$(cat ~/sozsoft-platform/api/DevExpress_License.txt 2>/dev/null || echo "")
|
|||
|
|
|
|||
|
|
docker build \
|
|||
|
|
--build-arg DevExpress_License="${DEVEXPRESS_LICENSE}" \
|
|||
|
|
-t devops.sozsoft.com/sozsoft/sozsoft-platform-migrator:1.0.0 \
|
|||
|
|
-t devops.sozsoft.com/sozsoft/sozsoft-platform-migrator:latest \
|
|||
|
|
-f Sozsoft.Platform.DbMigrator.Dockerfile .
|
|||
|
|
docker push devops.sozsoft.com/sozsoft/sozsoft-platform-migrator:1.0.0
|
|||
|
|
docker push devops.sozsoft.com/sozsoft/sozsoft-platform-migrator:latest
|