rename package to hardings-service, add build-and-tag script
This commit is contained in:
Executable
+13
@@ -0,0 +1,13 @@
|
||||
#!/usr/bin/env bash
|
||||
# Build the container image and tag it for the registry.
|
||||
# Usage: ./build-and-tag.sh <tag> e.g. ./build-and-tag.sh v1
|
||||
set -e
|
||||
|
||||
IMAGE=hardings-service
|
||||
REGISTRY=registry.digitalsorcery.net
|
||||
TAG="${1:?usage: $0 <tag>}"
|
||||
|
||||
podman build -t "${IMAGE}:${TAG}" -f Containerfile .
|
||||
podman tag "${IMAGE}:${TAG}" "${REGISTRY}/${IMAGE}:${TAG}"
|
||||
|
||||
echo "Push with: podman push ${REGISTRY}/${IMAGE}:${TAG}"
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "hardingsclocks-atrex",
|
||||
"name": "hardings-service",
|
||||
"version": "1.0.0",
|
||||
"description": "Repair tracker for Harding's Clocks",
|
||||
"private": true,
|
||||
|
||||
Reference in New Issue
Block a user