Skip to content

Commit 184d04a

Browse files
committed
remove unnecessary arg mapped in dockerfile
Signed-off-by: clux <sszynrae@gmail.com>
1 parent 3411f40 commit 184d04a

File tree

3 files changed

+6
-12
lines changed

3 files changed

+6
-12
lines changed

.github/workflows/nightly.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,10 @@ jobs:
2828
- platform: linux/amd64
2929
dockerfile: Dockerfile
3030
arch: amd64
31-
aarch: x86_64
3231
target_dir: x86_64-unknown-linux-musl
3332
- platform: linux/arm64
3433
dockerfile: Dockerfile
3534
arch: arm64
36-
aarch: aarch64
3735
target_dir: aarch64-unknown-linux-musl
3836
steps:
3937
- uses: actions/checkout@v4
@@ -75,7 +73,6 @@ jobs:
7573
tags: rustmusl-temp
7674
build-args: |
7775
CHANNEL=nightly
78-
AARCH=${{ matrix.aarch }}
7976
8077
- name: Run tests
8178
shell: bash

.github/workflows/stable.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,10 @@ jobs:
2828
- platform: linux/amd64
2929
dockerfile: Dockerfile
3030
arch: amd64
31-
aarch: x86_64
3231
target_dir: x86_64-unknown-linux-musl
3332
- platform: linux/arm64
3433
dockerfile: Dockerfile
3534
arch: arm64
36-
aarch: aarch64
3735
target_dir: aarch64-unknown-linux-musl
3836
steps:
3937
- uses: actions/checkout@v4
@@ -87,7 +85,6 @@ jobs:
8785
tags: rustmusl-temp
8886
build-args: |
8987
CHANNEL=stable
90-
AARCH=${{ matrix.aarch }}
9188
if: ${{ steps.stablecheck.outputs.BUILD }}
9289

9390
- name: Run tests

justfile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@
33
default:
44
@just --list --unsorted --color=always
55

6-
_build channel platform aarch:
7-
docker build --build-arg CHANNEL="{{channel}}" --build-arg AARCH="{{aarch}}" --platform="{{platform}}" -t rustmusl-temp . -f Dockerfile
6+
_build channel platform:
7+
docker build --build-arg CHANNEL="{{channel}}" --platform="{{platform}}" -t rustmusl-temp . -f Dockerfile
88
# Build the stable x86 container
9-
build-stable-amd: (_build "stable" "linux/amd64" "x86_64")
9+
build-stable-amd: (_build "stable" "linux/amd64")
1010
# Build the nightly x86 container
11-
build-nightly-amd: (_build "nightly" "linux/amd64" "x86_64")
11+
build-nightly-amd: (_build "nightly" "linux/amd64")
1212
# Build the stable arm container
13-
build-stable-arm: (_build "stable" "linux/arm64" "aarch64")
13+
build-stable-arm: (_build "stable" "linux/arm64")
1414
# Build the nightly arm container
15-
build-nightly-arm: (_build "nightly" "linux/arm64" "aarch64")
15+
build-nightly-arm: (_build "nightly" "linux/arm64")
1616

1717
# Shell into the built container
1818
run:

0 commit comments

Comments
 (0)