summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgarder500 <jeremy27.clara22@gmail.com>2025-10-28 18:39:16 +0100
committergarder500 <jeremy27.clara22@gmail.com>2025-10-28 18:39:16 +0100
commit6e1964802e79ff0de87b3bae903e04ef400e1202 (patch)
tree5a474442352c01e1caec268f6c84c0fe228f2e6d
parenta5ea47afc91bebfa1229263e41b7aac031c49576 (diff)
Supprimer les lignes vides inutiles dans le workflow de construction
-rw-r--r--.github/workflows/build.yml16
1 files changed, 8 insertions, 8 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 5732360..d9548ab 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -39,7 +39,7 @@ jobs:
- goos: windows
goarch: amd64
output: sovrabase-windows-amd64.exe
-
+
steps:
- name: Checkout code
uses: actions/checkout@v4
@@ -82,13 +82,13 @@ jobs:
- runner: ubuntu-24.04-arm
platform: linux/arm64
arch: arm64
-
+
runs-on: ${{ matrix.runner }}
-
+
permissions:
contents: read
packages: write
-
+
steps:
- name: Checkout code
uses: actions/checkout@v4
@@ -134,11 +134,11 @@ jobs:
needs: build-docker
runs-on: ubuntu-latest
if: github.event_name != 'pull_request'
-
+
permissions:
contents: read
packages: write
-
+
steps:
- name: Log in to Container Registry
uses: docker/login-action@v3
@@ -152,11 +152,11 @@ jobs:
# Extract branch or tag name
BRANCH=${GITHUB_REF##*/}
SHA_SHORT=$(echo $GITHUB_SHA | cut -c1-7)
-
+
# Create manifest for branch tag
docker buildx imagetools create -t ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${BRANCH} \
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${BRANCH}-${SHA_SHORT}
-
+
# Create manifest for latest tag if on default branch
if [ "${{ github.ref }}" = "refs/heads/main" ] || [ "${{ github.ref }}" = "refs/heads/master" ]; then
docker buildx imagetools create -t ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest \