Compare commits
1 Commits
build_2025
...
build_2025
| Author | SHA1 | Date | |
|---|---|---|---|
|
19119e5c77
|
@@ -26,6 +26,11 @@ jobs:
|
|||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Setup Node.js
|
||||||
|
uses: actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
node-version: '22'
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
|
|
||||||
|
|||||||
22
Makefile
Normal file
22
Makefile
Normal 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;
|
||||||
Reference in New Issue
Block a user