15 lines
412 B
Bash
Executable File
15 lines
412 B
Bash
Executable File
#!/bin/sh
|
|
set -eu
|
|
|
|
IMAGE_NAME="docker.tofu"
|
|
ORG="arcodange-org" # à remplacer
|
|
TAG="latest"
|
|
|
|
echo "🔨 Building $ORG/$IMAGE_NAME:$TAG..."
|
|
docker build -t gitea.arcodange.duckdns.org/$ORG/$IMAGE_NAME:$TAG .
|
|
|
|
echo "✅ Build complete."
|
|
echo "🔍 Testing..."
|
|
docker run --rm gitea.arcodange.duckdns.org/$ORG/$IMAGE_NAME:$TAG tofu -version
|
|
docker run --rm gitea.arcodange.duckdns.org/$ORG/$IMAGE_NAME:$TAG node -v
|