Added image push for db migrations
All checks were successful
Test and build / build (push) Successful in 23s
All checks were successful
Test and build / build (push) Successful in 23s
This commit is contained in:
parent
bb7ce13717
commit
8cf3e9a894
|
@ -16,7 +16,9 @@ curl \
|
|||
"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 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 push gitea.larvit.se/pwrpln/auth-api-db-migrations:${GITHUB_REF_NAME}"
|
||||
]
|
||||
}
|
||||
EOF
|
||||
|
|
|
@ -22,7 +22,7 @@ Run integration tests: `docker-compose run --rm tests`
|
|||
|
||||
## Deploy a new version
|
||||
|
||||
Everytime a push is done, tests are ran on [Drone](https://drone.larvit.se/pwrpln/auth-api). To deploy a new version to [Dockerhub](https://hub.docker.com/repository/docker/lilleman/auth-api), create a new tag (USE SEMVER!!!).
|
||||
Everytime a push is done, tests are ran and if they are successful a new image will be published on https://gitea.larvit.se/pwrpln/auth-api:branch-name and https://gitea.larvit.se/pwrpln/auth-api-db-migrations:branch-name
|
||||
|
||||
## Some useful cURLs
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user