fix: enable full version alpine build only
This commit is contained in:
parent
2971d33915
commit
79835f6414
4 changed files with 11 additions and 21 deletions
|
@ -12,8 +12,8 @@ jobs:
|
|||
strategy:
|
||||
fail-fast: true
|
||||
matrix:
|
||||
buildType: [standard, minimized, full]
|
||||
distro: [alpine, distroless]
|
||||
buildType: [full]
|
||||
distro: [alpine]
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout Source Code of 'SagerNet/sing-box'
|
||||
|
|
8
.github/workflows/build-singbox-docker.yml
vendored
8
.github/workflows/build-singbox-docker.yml
vendored
|
@ -12,8 +12,8 @@ jobs:
|
|||
strategy:
|
||||
fail-fast: true
|
||||
matrix:
|
||||
buildType: [standard, minimized, full]
|
||||
distro: [alpine, distroless]
|
||||
buildType: [full]
|
||||
distro: [alpine]
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout Source Code of 'SagerNet/sing-box'
|
||||
|
@ -70,10 +70,10 @@ jobs:
|
|||
- name: Get tag to build
|
||||
id: tag
|
||||
run: |
|
||||
if [[ "${{ matrix.distro }}" == "alpine" && "${{ matrix.buildType }}" == "standard" ]]; then
|
||||
if [[ "${{ matrix.distro }}" == "alpine" && "${{ matrix.buildType }}" == "full" ]]; then
|
||||
echo "latest=etnperlong/sing-box:latest" >> $GITHUB_OUTPUT
|
||||
fi
|
||||
if [[ "${{ matrix.distro }}" == "distroless" && "${{ matrix.buildType }}" == "standard" ]]; then
|
||||
if [[ "${{ matrix.distro }}" == "distroless" && "${{ matrix.buildType }}" == "full" ]]; then
|
||||
echo "latest=etnperlong/sing-box:distroless" >> $GITHUB_OUTPUT
|
||||
fi
|
||||
if [[ -z "${{ github.event.inputs.tag }}" ]]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue