Skip to content

Commit 4eca0c8

Browse files
committed
test2
1 parent 430fb95 commit 4eca0c8

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ name: Build and Push Docker Image
33
on:
44
push:
55
branches:
6-
- test # Déclenche le workflow sur chaque push vers la branche "main"
6+
- test2 # Déclenche le workflow sur chaque push vers la branche "main"
77
pull_request:
88
branches:
9-
- test # Déclenche sur un PR vers "main" (si besoin)
9+
- test2 # Déclenche sur un PR vers "main" (si besoin)
1010

1111
jobs:
1212
build:
@@ -35,8 +35,8 @@ jobs:
3535

3636
- name: Build and push Docker image
3737
run: |
38-
docker build -t tiritibambix/imagemagicksimplegui:test .
39-
docker push tiritibambix/imagemagicksimplegui:test
38+
docker build -t tiritibambix/imagemagicksimplegui:test2 .
39+
docker push tiritibambix/imagemagicksimplegui:test2
4040
# Construire et pousser l'image vers Docker Hub
4141

4242
- name: Logout from Docker Hub

templates/resize.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,10 @@ <h2>Resize by Pixels</h2>
1313
Height: <input type="text" name="height">
1414
<input type="checkbox" name="keep_ratio"> Keep Aspect Ratio
1515
<br>
16-
<button type="submit" name="resize_mode" value="pixels">Resize</button>
1716

1817
<h2>Resize by Percentage</h2>
1918
Percentage: <input type="text" name="percentage">
2019
<br>
21-
<button type="submit" name="resize_mode" value="percent">Resize</button>
2220

2321
<h2>Additional Options</h2>
2422
Quality (1-100): <input type="text" name="quality" value="100">
@@ -31,6 +29,10 @@ <h2>Additional Options</h2>
3129
<option value="webp">WEBP</option>
3230
</select>
3331
<br>
32+
33+
<h2>Apply Resize</h2>
34+
<button type="submit" name="resize_mode" value="pixels">Resize by Pixels</button>
35+
<button type="submit" name="resize_mode" value="percent">Resize by Percentage</button>
3436
</form>
3537
</body>
36-
</html>
38+
</html>

0 commit comments

Comments
 (0)