simple-http-file-api/push.docker.image.sh

7 lines
239 B
Bash

#!/bin/bash
# Get the current version from package.json
VERSION=$(jq -r '.version' package.json)
# Build the Docker image with the updated version from package.json
docker push 172.22.102.100:40016/team-mmkb/simple-http-upload:$VERSION