mirror of
https://github.com/esauflores/databases.git
synced 2026-03-09 14:34:00 +00:00
feat: add push-latest command to Justfile for latest image deployment
This commit is contained in:
9
Justfile
9
Justfile
@@ -48,6 +48,15 @@ push db=VARIANT:
|
||||
echo "docker push ${PREFIX}${IMAGE}"
|
||||
docker push ${PREFIX}${IMAGE}
|
||||
|
||||
push-latest db=VARIANT:
|
||||
#!/usr/bin/env bash
|
||||
PREFIX=${REGISTRY_URL:+${REGISTRY_URL}/}
|
||||
IMAGE="database-{{db}}:latest"
|
||||
|
||||
just build {{db}}
|
||||
echo "docker push ${PREFIX}${IMAGE}"
|
||||
docker push ${PREFIX}${IMAGE}
|
||||
|
||||
### Tests ###
|
||||
|
||||
# Run tests against a database variant
|
||||
|
||||
Reference in New Issue
Block a user