Skip to content

Commit

Permalink
build both DLP and official 2.3.3 in a single workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
minnyres committed Mar 25, 2023
1 parent cf671de commit 9534bff
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 39 deletions.
36 changes: 0 additions & 36 deletions .github/workflows/docker-image-official.yml

This file was deleted.

7 changes: 5 additions & 2 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ jobs:
strategy:
matrix:
platform: [linux/amd64, linux/arm/v6, linux/arm/v7, linux/arm64/v8, linux/ppc64le, linux/s390x, linux/riscv64]
amule_version: [dlp, official-2.3.3]

runs-on: ubuntu-latest

Expand Down Expand Up @@ -39,7 +40,9 @@ jobs:
uses: docker/build-push-action@v2
with:
context: ./
file: ./Dockerfile
file: ./${{ matrix.amule_version }}/Dockerfile
push: true
platforms: ${{ matrix.platform }}
tags: minnyres/amule-dlp:${{ steps.setValues.outputs.CPU_ARCH }}
tags: minnyres/amule-dlp:${{ matrix.amule_version }}-${{ steps.setValues.outputs.CPU_ARCH }}
provenance: false
sbom: false
File renamed without changes.
2 changes: 1 addition & 1 deletion official-2.3.3/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ RUN buildDeps='g++ git bash patch file libtool automake make flex bison wget xz
&& apk add --no-cache $buildDeps \
&& mkdir -p /amule-build /app/lib

COPY cryptopp.sh wxbase.sh upnp.sh autoconf.sh amule-fix-exception.patch /amule-build/
COPY cryptopp.sh wxbase.sh upnp.sh autoconf.sh amule-fix-exception.patch config.sub config.guess /amule-build/

# Build dependencies
RUN cd /amule-build \
Expand Down

0 comments on commit 9534bff

Please sign in to comment.