Skip to content

Commit

Permalink
fix(pipeline): improve version detection
Browse files Browse the repository at this point in the history
  • Loading branch information
RouHim committed Oct 29, 2023
1 parent 0f71c6a commit 0dc8928
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/build-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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'
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 0dc8928

Please sign in to comment.