chore: fix module path to match GitHub URL, update Makefile GHCR path
- Module: github.com/thijsherman → github.com/Turbootzz - Makefile: turboot/ → ghcr.io/turbootzz/ - Added docker-push-tag target
This commit is contained in:
1 parent
eecdb5d0eb
commit
059f23af2a
9 files changed
+26
-17
No files matched your search
@@ -2,7 +2,7 @@
|
||||
|
||||
# Variables
|
||||
APP_NAME=vaultwarden-api
|
||||
DOCKER_IMAGE=turboot/$(APP_NAME)
|
||||
DOCKER_IMAGE=ghcr.io/turbootzz/$(APP_NAME)
|
||||
VERSION?=latest
|
||||
|
||||
help: ## Show this help message
|
||||
@@ -79,7 +79,7 @@ docker-run: ## Run Docker container locally
|
||||
--name $(APP_NAME) \
|
||||
$(DOCKER_IMAGE):latest
|
||||
|
||||
docker-push: docker-buildx-setup ## Build for AMD64 and push Docker image to registry
|
||||
docker-push: docker-buildx-setup ## Build for AMD64 and push Docker image to GHCR
|
||||
@echo "Building and pushing Docker image for AMD64: $(DOCKER_IMAGE):$(VERSION)..."
|
||||
docker buildx build \
|
||||
--platform linux/amd64 \
|
||||
@@ -89,6 +89,15 @@ docker-push: docker-buildx-setup ## Build for AMD64 and push Docker image to reg
|
||||
.
|
||||
@echo "Docker image pushed successfully to $(DOCKER_IMAGE):$(VERSION) and $(DOCKER_IMAGE):latest"
|
||||
|
||||
docker-push-tag: docker-buildx-setup ## Build and push with a specific tag (e.g., make docker-push-tag VERSION=v2.0)
|
||||
@echo "Building and pushing: $(DOCKER_IMAGE):$(VERSION)..."
|
||||
docker buildx build \
|
||||
--platform linux/amd64 \
|
||||
--push \
|
||||
-t $(DOCKER_IMAGE):$(VERSION) \
|
||||
.
|
||||
@echo "Pushed $(DOCKER_IMAGE):$(VERSION)"
|
||||
|
||||
docker-compose-up: ## Start services with docker-compose
|
||||
@if [ ! -f .env ]; then \
|
||||
echo "Error: .env file not found. Copy .env.example to .env and configure it."; \
|
||||
|
||||
Reference in new issue
Block a user