Skip to content

Commit

Permalink
test2
Browse files Browse the repository at this point in the history
  • Loading branch information
tiritibambix committed Dec 19, 2024
1 parent 430fb95 commit 4eca0c8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ name: Build and Push Docker Image
on:
push:
branches:
- test # Déclenche le workflow sur chaque push vers la branche "main"
- test2 # Déclenche le workflow sur chaque push vers la branche "main"
pull_request:
branches:
- test # Déclenche sur un PR vers "main" (si besoin)
- test2 # Déclenche sur un PR vers "main" (si besoin)

jobs:
build:
Expand Down Expand Up @@ -35,8 +35,8 @@ jobs:

- name: Build and push Docker image
run: |
docker build -t tiritibambix/imagemagicksimplegui:test .
docker push tiritibambix/imagemagicksimplegui:test
docker build -t tiritibambix/imagemagicksimplegui:test2 .
docker push tiritibambix/imagemagicksimplegui:test2
# Construire et pousser l'image vers Docker Hub

- name: Logout from Docker Hub
Expand Down
8 changes: 5 additions & 3 deletions templates/resize.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,10 @@ <h2>Resize by Pixels</h2>
Height: <input type="text" name="height">
<input type="checkbox" name="keep_ratio"> Keep Aspect Ratio
<br>
<button type="submit" name="resize_mode" value="pixels">Resize</button>

<h2>Resize by Percentage</h2>
Percentage: <input type="text" name="percentage">
<br>
<button type="submit" name="resize_mode" value="percent">Resize</button>

<h2>Additional Options</h2>
Quality (1-100): <input type="text" name="quality" value="100">
Expand All @@ -31,6 +29,10 @@ <h2>Additional Options</h2>
<option value="webp">WEBP</option>
</select>
<br>

<h2>Apply Resize</h2>
<button type="submit" name="resize_mode" value="pixels">Resize by Pixels</button>
<button type="submit" name="resize_mode" value="percent">Resize by Percentage</button>
</form>
</body>
</html>
</html>

0 comments on commit 4eca0c8

Please sign in to comment.