Compare commits

..

3 Commits

Author SHA1 Message Date
66c5891510 Remove fix
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 33s
2025-05-30 11:33:06 +02:00
eb6c40c2f5 Fix workflow
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 29s
2025-05-30 11:07:50 +02:00
19119e5c77 Fix workflow & add makefile
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 49s
2025-05-30 11:06:00 +02:00

22
Makefile Normal file
View File

@@ -0,0 +1,22 @@
# =====================
# Build new application
# =====================
.PHONY: tag-build
tag-build: ## DEV : Build a prod version with a timestamped tag
@export TIMESTAMP=build_`date +"%G-%m-%d_%Hh%M"`; \
echo TAG = $$TIMESTAMP; \
git tag $$TIMESTAMP; \
git push origin $$TIMESTAMP;
# ===============
# Deployment tags
# ===============
.PHONY: tag-deploy
tag-deploy: ## DEV : Set tag to current HEAD to deploy in production
@export TIMESTAMP=deploy_`date +"%G-%m-%d_%Hh%M"`; \
echo TAG = $$TIMESTAMP; \
git tag $$TIMESTAMP; \
git push origin $$TIMESTAMP;