Skip to content

Commit 5250dc2

Browse files
authored
Merge pull request #359 from dbarzin/dev
Dev
2 parents 457e336 + 697b29b commit 5250dc2

File tree

4 files changed

+11
-17
lines changed

4 files changed

+11
-17
lines changed

.github/workflows/docker.yaml

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: docker
1+
name: Build & Push Docker Image
22

33
on:
44
push:
@@ -11,8 +11,8 @@ jobs:
1111
permissions:
1212
packages: write
1313
steps:
14-
- name: Checkout
15-
uses: actions/checkout@v4
14+
- name: Checkout repository
15+
uses: actions/checkout@v3
1616

1717
- name: Read version from version.txt
1818
id: version
@@ -21,13 +21,7 @@ jobs:
2121
echo "VERSION=$VERSION"
2222
echo "version=$VERSION" >> "$GITHUB_OUTPUT"
2323
24-
- name: Test naming
25-
run: echo "ghcr.io/${{ github.repository }}:latest"
26-
27-
- name: Set up Docker Buildx
28-
uses: docker/setup-buildx-action@v2
29-
30-
- name: Login to GitHub Container Registry
24+
- name: Log in to Docker Hub (optional)
3125
uses: docker/login-action@v2
3226
with:
3327
registry: ghcr.io
@@ -38,10 +32,10 @@ jobs:
3832
uses: docker/build-push-action@v4
3933
with:
4034
context: .
41-
platforms: linux/amd64 #, linux/arm64 (build fails)
35+
platforms: linux/amd64 # linux/arm64 peut être rajouté plus tard
4236
push: true
37+
build-args: |
38+
APP_VERSION=${{ steps.version.outputs.version }}
4339
tags: |
4440
ghcr.io/${{ github.repository }}:${{ steps.version.outputs.version }}
4541
ghcr.io/${{ github.repository }}:latest
46-
build-args: |
47-
APP_VERSION=${{ steps.version.outputs.version }}

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "2025.05.09",
2+
"version": "2025.05.11",
33
"license": "GPL-3.0",
44
"author": "Didier Barzin",
55
"repository": "https://www.github.com/dbarzin/deming",

version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2025.05.09
1+
2025.05.11

0 commit comments

Comments
 (0)