Skip to content

Commit

Permalink
haven-docker v1.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
sudocarlos committed Jan 22, 2025
1 parent 8e9602f commit 7a4ec3b
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 15 deletions.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
services:
haven:
container_name: haven
image: haven
image: sudocarlos/haven
build: .
env_file: .env
ports:
Expand Down
19 changes: 19 additions & 0 deletions release-to-dockerhub.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
set -ex
# SET THE FOLLOWING VARIABLES
# docker hub username
USERNAME=sudocarlos
# image name
IMAGE=haven
# platforms
PLATFORM=linux/amd64
# bump version
version=`awk -F "=" '/TAG=/{print $NF}' Dockerfile`
echo "Building version: $version"
# run build
docker buildx build -t $USERNAME/$IMAGE:latest -t $USERNAME/$IMAGE:$version --push .
# tag it
git add -A
git commit -m "haven-docker $version"
git tag -a "dockerhub-$version" -m "haven-docker $version"
git push
git push --tags
14 changes: 0 additions & 14 deletions update-repo.sh

This file was deleted.

0 comments on commit 7a4ec3b

Please sign in to comment.