File tree Expand file tree Collapse file tree 14 files changed +280
-17
lines changed
Expand file tree Collapse file tree 14 files changed +280
-17
lines changed Original file line number Diff line number Diff line change 1+ name : build base
2+ on :
3+ workflow_dispatch :
4+ schedule :
5+ - cron : " 0 0 * * 1"
6+ push :
7+ branches :
8+ - master
9+ paths :
10+ - base/**
11+ - scripts/ampstart.sh
12+ permissions :
13+ contents : read
14+ packages : write
15+
16+ jobs :
17+ push :
18+ if : ${{ github.repository_owner == 'CubeCoders' }}
19+ name : " amp:${{ matrix.base }}"
20+ runs-on : ubuntu-latest
21+ strategy :
22+ fail-fast : false
23+ matrix :
24+ base :
25+ - debian
26+ steps :
27+ - uses : actions/checkout@v4
28+ - uses : docker/setup-qemu-action@v3
29+ - uses : docker/setup-buildx-action@v3
30+ - uses : docker/login-action@v3
31+ with :
32+ registry : ghcr.io
33+ username : cubecoders
34+ password : ${{ secrets.GITHUB_TOKEN }}
35+ - uses : docker/build-push-action@v6
36+ with :
37+ context : .
38+ file : ./base/${{ matrix.base }}/Dockerfile
39+ platforms : linux/amd64,linux/arm64/v8
40+ push : true
41+ tags : |
42+ ghcr.io/cubecoders/amp:${{ matrix.base }}
43+ cache-from : type=gha
44+ cache-to : type=gha,mode=max
45+ provenance : mode=max
46+ sbom : true
47+
48+ concurrency :
49+ group : ${{ github.workflow }}-${{ github.ref }}
50+ cancel-in-progress : false
Original file line number Diff line number Diff line change 1+ name : build java
2+ on :
3+ workflow_dispatch :
4+ schedule :
5+ - cron : " 0 0 * * 1"
6+ push :
7+ branches :
8+ - master
9+ paths :
10+ - base/debian/**
11+ - java/**
12+ - scripts/ampstart.sh
13+ permissions :
14+ contents : read
15+ packages : write
16+
17+ jobs :
18+ push :
19+ if : ${{ github.repository_owner == 'CubeCoders' }}
20+ name : " amp:java-${{ matrix.java }}"
21+ runs-on : ubuntu-latest
22+ strategy :
23+ fail-fast : false
24+ matrix :
25+ java :
26+ - lts
27+ steps :
28+ - uses : actions/checkout@v4
29+ - uses : docker/setup-qemu-action@v3
30+ - uses : docker/setup-buildx-action@v3
31+ - uses : docker/login-action@v3
32+ with :
33+ registry : ghcr.io
34+ username : cubecoders
35+ password : ${{ secrets.GITHUB_TOKEN }}
36+ - uses : docker/build-push-action@v6
37+ with :
38+ context : .
39+ file : ./java/${{ matrix.java }}/Dockerfile
40+ platforms : linux/amd64,linux/arm64/v8
41+ push : true
42+ tags : |
43+ ghcr.io/cubecoders/amp:java-${{ matrix.java }}
44+ cache-from : type=gha
45+ cache-to : type=gha,mode=max
46+ provenance : mode=max
47+ sbom : true
48+
49+ concurrency :
50+ group : ${{ github.workflow }}-${{ github.ref }}
51+ cancel-in-progress : false
Original file line number Diff line number Diff line change 1+ name : build mono
2+ on :
3+ workflow_dispatch :
4+ schedule :
5+ - cron : " 0 0 * * 1"
6+ push :
7+ branches :
8+ - master
9+ paths :
10+ - base/debian/**
11+ - mono/**
12+ - scripts/ampstart.sh
13+ permissions :
14+ contents : read
15+ packages : write
16+
17+ jobs :
18+ push :
19+ if : ${{ github.repository_owner == 'CubeCoders' }}
20+ name : " amp:mono-${{ matrix.mono }}"
21+ runs-on : ubuntu-latest
22+ strategy :
23+ fail-fast : false
24+ matrix :
25+ mono :
26+ - latest
27+ steps :
28+ - uses : actions/checkout@v4
29+ - uses : docker/setup-qemu-action@v3
30+ - uses : docker/setup-buildx-action@v3
31+ - uses : docker/login-action@v3
32+ with :
33+ registry : ghcr.io
34+ username : cubecoders
35+ password : ${{ secrets.GITHUB_TOKEN }}
36+ - uses : docker/build-push-action@v6
37+ with :
38+ context : .
39+ file : ./mono/${{ matrix.mono }}/Dockerfile
40+ platforms : linux/amd64,linux/arm64/v8
41+ push : true
42+ tags : |
43+ ghcr.io/cubecoders/amp:mono-${{ matrix.mono }}
44+ cache-from : type=gha
45+ cache-to : type=gha,mode=max
46+ provenance : mode=max
47+ sbom : true
48+
49+ concurrency :
50+ group : ${{ github.workflow }}-${{ github.ref }}
51+ cancel-in-progress : false
Original file line number Diff line number Diff line change 1+ name : build python
2+ on :
3+ workflow_dispatch :
4+ schedule :
5+ - cron : " 0 0 * * 1"
6+ push :
7+ branches :
8+ - master
9+ paths :
10+ - base/debian/**
11+ - python/**
12+ - scripts/ampstart.sh
13+ permissions :
14+ contents : read
15+ packages : write
16+
17+ jobs :
18+ push :
19+ if : ${{ github.repository_owner == 'CubeCoders' }}
20+ name : " amp:python-${{ matrix.python }}"
21+ runs-on : ubuntu-latest
22+ strategy :
23+ fail-fast : false
24+ matrix :
25+ python :
26+ - " 3"
27+ steps :
28+ - uses : actions/checkout@v4
29+ - uses : docker/setup-qemu-action@v3
30+ - uses : docker/setup-buildx-action@v3
31+ - uses : docker/login-action@v3
32+ with :
33+ registry : ghcr.io
34+ username : cubecoders
35+ password : ${{ secrets.GITHUB_TOKEN }}
36+ - uses : docker/build-push-action@v6
37+ with :
38+ context : .
39+ file : ./python/${{ matrix.python }}/Dockerfile
40+ platforms : linux/amd64,linux/arm64/v8
41+ push : true
42+ tags : |
43+ ghcr.io/cubecoders/amp:python-${{ matrix.python }}
44+ cache-from : type=gha
45+ cache-to : type=gha,mode=max
46+ provenance : mode=max
47+ sbom : true
48+
49+ concurrency :
50+ group : ${{ github.workflow }}-${{ github.ref }}
51+ cancel-in-progress : false
Original file line number Diff line number Diff line change 1+ name : build mono
2+ on :
3+ workflow_dispatch :
4+ schedule :
5+ - cron : " 0 0 * * 1"
6+ push :
7+ branches :
8+ - master
9+ paths :
10+ - base/debian/**
11+ - mono/**
12+ - scripts/ampstart.sh
13+ permissions :
14+ contents : read
15+ packages : write
16+
17+ jobs :
18+ push :
19+ if : ${{ github.repository_owner == 'CubeCoders' }}
20+ name : " amp:${{ matrix.mono }}"
21+ runs-on : ubuntu-latest
22+ strategy :
23+ fail-fast : false
24+ matrix :
25+ mono :
26+ - latest
27+ steps :
28+ - uses : actions/checkout@v4
29+ - uses : docker/setup-qemu-action@v3
30+ - uses : docker/setup-buildx-action@v3
31+ - uses : docker/login-action@v3
32+ with :
33+ registry : ghcr.io
34+ username : cubecoders
35+ password : ${{ secrets.GITHUB_TOKEN }}
36+ - uses : docker/build-push-action@v6
37+ with :
38+ context : .
39+ file : ./mono/${{ matrix.mono }}/Dockerfile
40+ platforms : linux/amd64,linux/arm64/v8
41+ push : true
42+ tags : |
43+ ghcr.io/cubecoders/amp:${{ matrix.mono }}
44+ cache-from : type=gha
45+ cache-to : type=gha,mode=max
46+ provenance : mode=max
47+ sbom : true
48+
49+ concurrency :
50+ group : ${{ github.workflow }}-${{ github.ref }}
51+ cancel-in-progress : false
Original file line number Diff line number Diff line change 1- # Base image for AMP containers
1+ # Base Debian 12 image for AMP containers
2+ # ghcr.io/cubecoders/amp:debian
23
34FROM --platform=$TARGETPLATFORM debian:bookworm-slim
45
@@ -40,7 +41,7 @@ RUN mkdir -p /usr/share/man/man1 && \
4041RUN case "$TARGETARCH" in \
4142 amd64) wget -qO libssl1.1.deb https://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.0g-2ubuntu4_amd64.deb ;; \
4243 arm64) wget -qO libssl1.1.deb https://ports.ubuntu.com/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2_arm64.deb ;; \
43- esac &&\
44+ esac && \
4445 apt-get update && \
4546 apt-get install -y --no-install-recommends ./libssl1.1.deb && \
4647 rm libssl1.1.deb && \
Original file line number Diff line number Diff line change 1- # Java image including all Temurin LTS versions
1+ # Java image for AMP containers including all Temurin LTS versions
2+ # ghcr.io/cubecoders/amp:java-lts
23
34FROM --platform=$TARGETPLATFORM cubecoders/ampbase:latest
45
Original file line number Diff line number Diff line change 1- # Mono image
1+ # Mono image for AMP containers
2+ # ghcr.io/cubecoders/amp:mono
23
3- FROM --platform=$TARGETPLATFORM ghcr.io/cubecoders/ampbase:latest
4+ FROM --platform=$TARGETPLATFORM ghcr.io/cubecoders/amp:debian
45
56LABEL org.opencontainers.image.licenses=MIT
67
Original file line number Diff line number Diff line change 1- # Python image for Python 3.10, 3.11 and 3.12
1+ # Python image for AMP containers including Python 3.10, 3.11 and 3.12
2+ # ghcr.io/cubecoders/amp:python-3
23
34FROM --platform=$TARGETPLATFORM python:3.10-slim-bookworm AS py310
45FROM --platform=$TARGETPLATFORM python:3.12-slim-bookworm AS py312
56
6- FROM --platform=$TARGETPLATFORM ghcr.io/cubecoders/ampbase:latest
7+ FROM --platform=$TARGETPLATFORM ghcr.io/cubecoders/amp:debian
78LABEL org.opencontainers.image.licenses=MIT
89
910ENV PIP_DISABLE_PIP_VERSION_CHECK=1
Original file line number Diff line number Diff line change 1- # Wine image based on Wine 10 stable
1+ # Wine image for AMP containers based on Wine 10 stable
2+ # ghcr.io/cubecoders/amp:wine-10-stable
23
3- FROM ghcr.io/cubecoders/ampbase:latest
4+ FROM ghcr.io/cubecoders/amp:debian
45
56LABEL org.opencontainers.image.licenses=MIT
67
You can’t perform that action at this time.
0 commit comments