From 0dc8928e009d45b9914621c3edbf3d893542f152 Mon Sep 17 00:00:00 2001 From: Rouven Himmelstein Date: Sun, 29 Oct 2023 12:20:26 +0100 Subject: [PATCH] fix(pipeline): improve version detection --- .github/workflows/build-image.yaml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build-image.yaml b/.github/workflows/build-image.yaml index eb3aa22..c238dd7 100644 --- a/.github/workflows/build-image.yaml +++ b/.github/workflows/build-image.yaml @@ -44,7 +44,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@4 + uses: actions/checkout@v4 - name: Run Trivy vulnerability scanner uses: aquasecurity/trivy-action@master @@ -62,7 +62,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@4 + uses: actions/checkout@v4 - name: Run Trivy vulnerability scanner uses: aquasecurity/trivy-action@master @@ -79,7 +79,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@4 + uses: actions/checkout@v4 - name: Install rust toolchain uses: actions-rs/toolchain@v1 @@ -101,7 +101,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@4 + uses: actions/checkout@v4 - name: Install rust toolchain uses: actions-rs/toolchain@v1 @@ -126,7 +126,7 @@ jobs: OPEN_WEATHER_MAP_API_KEY: ${{ secrets.OPEN_WEATHER_MAP_API_KEY }} steps: - name: Checkout code - uses: actions/checkout@4 + uses: actions/checkout@v4 - name: Install rust toolchain uses: actions-rs/toolchain@v1 @@ -148,7 +148,7 @@ jobs: steps: - name: Checkout code if: github.ref == 'refs/heads/main' - uses: actions/checkout@4 + uses: actions/checkout@v4 # Create a new release based on semantic versioning - name: Set up Node.js @@ -186,7 +186,7 @@ jobs: target: [ x86_64-musl, aarch64-musl, armv7-musleabihf, arm-musleabihf ] steps: - name: Checkout code - uses: actions/checkout@4 + uses: actions/checkout@v4 - name: Set version to environment if: github.ref == 'refs/heads/main' @@ -245,7 +245,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@4 + uses: actions/checkout@v4 - name: Download x86_64-musl static application binary uses: actions/download-artifact@v3 @@ -287,7 +287,7 @@ jobs: if: github.event_name == 'push' && github.ref == 'refs/heads/main' steps: - name: Checkout code - uses: actions/checkout@4 + uses: actions/checkout@v4 - name: Download x86_64-musl binary uses: actions/download-artifact@v3 @@ -346,7 +346,7 @@ jobs: if: github.event_name == 'push' steps: - name: Checkout code - uses: actions/checkout@4 + uses: actions/checkout@v4 - name: Set version to environment shell: bash