Add architecture argument to run.sh build calls
This commit is contained in:
parent
9b2cb3d4d8
commit
84749b2f05
12
.github/workflows/release_mgbuilder.yml
vendored
12
.github/workflows/release_mgbuilder.yml
vendored
@ -43,6 +43,7 @@ jobs:
|
||||
DOCKER_ORG: "memgraph"
|
||||
DOCKER_REPO: "memgraph-builder"
|
||||
DOCKER_IMAGE_TAG: "${{ github.event.inputs.toolchain_version }}_${{ github.event.inputs.target_os }}"
|
||||
ARCHITECTURE: "amd64"
|
||||
steps:
|
||||
- name: "Set up repository"
|
||||
uses: actions/checkout@v3
|
||||
@ -68,7 +69,7 @@ jobs:
|
||||
if: env.EXISTS == 1
|
||||
run: |
|
||||
echo "Building and publishing $DOCKER_ORG/$DOCKER_REPO:$DOCKER_IMAGE_TAG"
|
||||
./release/package/run.sh ${{ github.event.inputs.toolchain_version }} ${{ github.event.inputs.target_os }} --publish
|
||||
./release/package/run.sh ${{ github.event.inputs.toolchain_version }} ${{ github.event.inputs.target_os }} $ARCHITECTURE --publish
|
||||
|
||||
arm_build:
|
||||
if: ${{ !startsWith(github.event.inputs.target_os, 'all') && endsWith(github.event.inputs.target_os, '-arm') }}
|
||||
@ -78,6 +79,7 @@ jobs:
|
||||
DOCKER_ORG: "memgraph"
|
||||
DOCKER_REPO: "memgraph-builder"
|
||||
DOCKER_IMAGE_TAG: "${{ github.event.inputs.toolchain_version }}_${{ github.event.inputs.target_os }}"
|
||||
ARCHITECTURE: "arm64"
|
||||
steps:
|
||||
- name: "Set up repository"
|
||||
uses: actions/checkout@v3
|
||||
@ -105,7 +107,7 @@ jobs:
|
||||
if: env.EXISTS == 1
|
||||
run: |
|
||||
echo "Building and publishing $DOCKER_ORG/$DOCKER_REPO:$DOCKER_IMAGE_TAG"
|
||||
./release/package/run.sh ${{ github.event.inputs.toolchain_version }} ${{ github.event.inputs.target_os }} --publish
|
||||
./release/package/run.sh ${{ github.event.inputs.toolchain_version }} ${{ github.event.inputs.target_os }} $ARCHITECTURE --publish
|
||||
|
||||
all_amd_build:
|
||||
if: ${{ github.event.inputs.target_os == 'all-amd64' || github.event.inputs.target_os == 'all'}}
|
||||
@ -118,6 +120,7 @@ jobs:
|
||||
DOCKER_ORG: "memgraph"
|
||||
DOCKER_REPO: "memgraph-builder"
|
||||
DOCKER_IMAGE_TAG: "${{ github.event.inputs.toolchain_version }}_${{ github.event.inputs.target_os }}"
|
||||
ARCHITECTURE: "amd64"
|
||||
steps:
|
||||
- name: "Set up repository"
|
||||
uses: actions/checkout@v3
|
||||
@ -143,7 +146,7 @@ jobs:
|
||||
if: env.EXISTS == 1
|
||||
run: |
|
||||
echo "Building and publishing $DOCKER_ORG/$DOCKER_REPO:$DOCKER_IMAGE_TAG"
|
||||
./release/package/run.sh ${{ github.event.inputs.toolchain_version }} ${{ github.event.inputs.target_os }} --publish
|
||||
./release/package/run.sh ${{ github.event.inputs.toolchain_version }} ${{ github.event.inputs.target_os }} $ARCHITECTURE --publish
|
||||
|
||||
all_arm_build:
|
||||
if: ${{ github.event.inputs.target_os == 'all-arm' || github.event.inputs.target_os == 'all'}}
|
||||
@ -156,6 +159,7 @@ jobs:
|
||||
DOCKER_ORG: "memgraph"
|
||||
DOCKER_REPO: "memgraph-builder"
|
||||
DOCKER_IMAGE_TAG: "${{ github.event.inputs.toolchain_version }}_${{ github.event.inputs.target_os }}"
|
||||
ARCHITECTURE: "arm64"
|
||||
steps:
|
||||
- name: "Set up repository"
|
||||
uses: actions/checkout@v3
|
||||
@ -183,4 +187,4 @@ jobs:
|
||||
if: env.EXISTS == 1
|
||||
run: |
|
||||
echo "Building and publishing $DOCKER_ORG/$DOCKER_REPO:$DOCKER_IMAGE_TAG"
|
||||
./release/package/run.sh ${{ github.event.inputs.toolchain_version }} ${{ github.event.inputs.target_os }} --publish
|
||||
./release/package/run.sh ${{ github.event.inputs.toolchain_version }} ${{ github.event.inputs.target_os }} $ARCHITECTURE --publish
|
||||
|
Loading…
Reference in New Issue
Block a user