fix: enable full version alpine build only

This commit is contained in:
Mike Evans 2023-06-22 17:42:59 +01:00 committed by GitHub
parent 2971d33915
commit 79835f6414
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 21 deletions

View file

@ -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'

View file

@ -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