This commit is contained in:
parent
67d39dae3e
commit
d051657b77
|
@ -9,15 +9,15 @@ curl \
|
|||
{
|
||||
"commands": [
|
||||
"git clone --single-branch --branch ${GITHUB_REF_NAME} --depth 1 ssh://git@gitea.larvit.se:21022/pwrpln/auth-api.git",
|
||||
"cd auth-api",
|
||||
"docker compose build",
|
||||
"docker compose --profile tests build",
|
||||
"docker compose run --rm tests",
|
||||
"docker compose down -v --remove-orphans -t0",
|
||||
"cd auth-api",
|
||||
"docker compose build",
|
||||
"docker compose --profile tests build",
|
||||
"docker compose run --rm tests",
|
||||
"docker compose down -v --remove-orphans -t0",
|
||||
"echo \"${DOCKER_PASSWORD}\" | docker login gitea.larvit.se --username ${DOCKER_USERNAME} --password-stdin",
|
||||
"docker build -t gitea.larvit.se/pwrpln/auth-api:${GITHUB_REF_NAME} .",
|
||||
"docker push gitea.larvit.se/pwrpln/auth-api:${GITHUB_REF_NAME}",
|
||||
"docker build -t gitea.larvit.se/pwrpln/auth-api-db-migrations:${GITHUB_REF_NAME} -f ./Dockerfile.migrations .",
|
||||
"docker build -t gitea.larvit.se/pwrpln/auth-api-db-migrations:${GITHUB_REF_NAME} -f ./Dockerfile.migrations .",
|
||||
"docker push gitea.larvit.se/pwrpln/auth-api-db-migrations:${GITHUB_REF_NAME}"
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user