Skip to content

Commit

Permalink
Fixes Pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
Argelbargel committed Mar 28, 2024
1 parent 09d8dc9 commit 14a67cc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ jobs:
fail-fast: true
matrix:
platform:
- linux/amd64
- linux/arm64
- linux/arm
- amd64
- arm64
- arm

steps:
- name: "Checkout repository"
Expand All @@ -54,7 +54,7 @@ jobs:
run: |
mkdir ./dist
chmod +x ./build/build.sh
./build/build.sh -b . -d ./dist -p ${{ matrix.platform }} -v ${{ github.ref_name }}
./build/build.sh -b . -d ./dist -p linux/${{ matrix.platform }} -v ${{ github.ref_name }}
- name: Upload binary
if: inputs.upload-artifacts
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release-container-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ jobs:
fail-fast: true
matrix:
platform:
- linux/amd64
- linux/arm64
- linux/arm
- amd64
- arm64
- arm

steps:
- name: "Checkout repository"
Expand All @@ -77,7 +77,7 @@ jobs:
- name: Extract metadata of Platform
id: platform_meta
env:
PLATFORM: ${{ matrix.platform }}
PLATFORM: linux/${{ matrix.platform }}
run: |
echo "os=$(dirname $PLATFORM)" >> $GITHUB_OUTPUT
echo "arch=$(basename $PLATFORM)" >> $GITHUB_OUTPUT
Expand Down Expand Up @@ -112,7 +112,7 @@ jobs:
push: true
context: .
file: .github/release.Dockerfile
platforms: ${{ matrix.platform }}
platforms: linux/${{ matrix.platform }}
build-args: |
DIST_DIR=./dist
TARGETOS=${{ steps.platform_meta.outputs.os }}
Expand Down

0 comments on commit 14a67cc

Please sign in to comment.