feat: 脆弱性スキャンコマンドを追加。
This commit is contained in:
parent
a559858d6a
commit
d7d135e0cc
@ -16,6 +16,7 @@ then
|
||||
bash build-export-dbdump.sh || { echo "build-export-dbdump.sh failed"; exit 1; }
|
||||
bash build-transfer-medpass-data.sh || { echo "build-transfer-medpass-data.sh failed"; exit 1; }
|
||||
bash build-jskult-transfer-receive-file.sh || { echo "build-jskult-transfer-receive-file.sh failed"; exit 1; }
|
||||
bash build-jskult-batch-ultmarc-io.sh || { echo "build-jskult-batch-ultmarc-io.sh"; exit 1; }
|
||||
else
|
||||
echo "AWS login failed"
|
||||
fi
|
||||
|
||||
@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
cd ../../ecs/jskult-batch-ultmarc-io || { echo "Error: ディレクトリ変更に失敗しました"; exit 1; }
|
||||
|
||||
pipenv update || { echo "pipenv update failed"; exit 1; }
|
||||
|
||||
docker pull python:3.12-slim-bookworm
|
||||
|
||||
aws ecr get-login-password --region ap-northeast-1 | docker login --username AWS --password-stdin 826466435614.dkr.ecr.ap-northeast-1.amazonaws.com
|
||||
|
||||
docker build -t mbj-newdwh2021-staging-jskult-batch-ultmarc-io-ecr . --no-cache
|
||||
|
||||
docker tag mbj-newdwh2021-staging-jskult-batch-ultmarc-io-ecr:latest 826466435614.dkr.ecr.ap-northeast-1.amazonaws.com/mbj-newdwh2021-staging-jskult-batch-ultmarc-io-ecr:scan-point
|
||||
|
||||
docker push 826466435614.dkr.ecr.ap-northeast-1.amazonaws.com/mbj-newdwh2021-staging-jskult-batch-ultmarc-io-ecr:scan-point
|
||||
@ -16,6 +16,7 @@ then
|
||||
bash retag-export-dbdump.sh || { echo "retag-export-dbdump.sh failed"; exit 1; }
|
||||
bash retag-transfer-medpass-data.sh || { echo "retag-transfer-medpass-data.sh failed"; exit 1; }
|
||||
bash retag-jskult-transfer-receive-file.sh || { echo "retag-jskult-transfer-receive-file.sh failed"; exit 1; }
|
||||
bash retag-jskult-batch-ultmarc-io.sh.sh || { echo "retag-jskult-batch-ultmarc-io.sh.sh failed"; exit 1; }
|
||||
else
|
||||
echo "AWS login failed"
|
||||
fi
|
||||
|
||||
@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
docker pull 826466435614.dkr.ecr.ap-northeast-1.amazonaws.com/mbj-newdwh2021-staging-jskult-batch-ultmarc-io-ecr:scan-point
|
||||
|
||||
docker tag 826466435614.dkr.ecr.ap-northeast-1.amazonaws.com/mbj-newdwh2021-staging-jskult-batch-ultmarc-io-ecr:scan-point 826466435614.dkr.ecr.ap-northeast-1.amazonaws.com/mbj-newdwh2021-staging-jskult-batch-ultmarc-io-ecr:latest
|
||||
|
||||
docker push 826466435614.dkr.ecr.ap-northeast-1.amazonaws.com/mbj-newdwh2021-staging-jskult-batch-ultmarc-io-ecr:latest
|
||||
|
||||
docker tag 826466435614.dkr.ecr.ap-northeast-1.amazonaws.com/mbj-newdwh2021-staging-jskult-batch-ultmarc-io-ecr:latest 826466435614.dkr.ecr.ap-northeast-1.amazonaws.com/mbj-newdwh2021-product-jskult-batch-ultmarc-io-ecr:latest
|
||||
|
||||
docker push 826466435614.dkr.ecr.ap-northeast-1.amazonaws.com/mbj-newdwh2021-product-jskult-batch-ultmarc-io-ecr:latest
|
||||
Loading…
x
Reference in New Issue
Block a user