- commit
- 3d4c1d9
- parent
- c42707d
- author
- Eric Bower
- date
- 2025-08-19 12:36:52 -0400 EDT
chore: gha for more pgs images
1 files changed,
+58,
-0
+58,
-0
1@@ -81,6 +81,64 @@ jobs:
2 platforms: ${{ env.PLATFORMS }}
3 registry: ${{ env.REGISTRY }}
4 web: false
5+ build-pgs-cdn:
6+ runs-on: ubuntu-22.04
7+ needs: test
8+ steps:
9+ - name: Checkout repo
10+ uses: actions/checkout@v3
11+ - name: Setup docker
12+ uses: ./.github/actions/setup
13+ with:
14+ registry: ${{ env.REGISTRY }}
15+ username: ${{ github.actor }}
16+ password: ${{ secrets.GITHUB_TOKEN }}
17+ - name: Collect web image metadata
18+ id: pgscdnmeta
19+ uses: docker/metadata-action@v4
20+ with:
21+ images: ${{ env.REGISTRY }}/${{ github.repository }}/pgs-cdn
22+ - name: Build and push
23+ uses: docker/build-push-action@v3
24+ with:
25+ context: .
26+ file: Dockerfile.cdn
27+ push: true
28+ target: release-web
29+ tags: ${{ steps.pgscdnmeta.outputs.tags }}
30+ labels: ${{ steps.pgscdnmeta.outputs.labels }}
31+ platforms: ${{ env.PLATFORMS }}
32+ cache-from: type=gha
33+ cache-to: type=gha,mode=max
34+ build-pgs-standalone:
35+ runs-on: ubuntu-22.04
36+ needs: test
37+ steps:
38+ - name: Checkout repo
39+ uses: actions/checkout@v3
40+ - name: Setup docker
41+ uses: ./.github/actions/setup
42+ with:
43+ registry: ${{ env.REGISTRY }}
44+ username: ${{ github.actor }}
45+ password: ${{ secrets.GITHUB_TOKEN }}
46+ - name: Collect web image metadata
47+ id: pgsstandalonemeta
48+ uses: docker/metadata-action@v4
49+ with:
50+ images: ${{ env.REGISTRY }}/picosh/pgs
51+ - name: Build and push
52+ uses: docker/build-push-action@v3
53+ with:
54+ context: .
55+ file: Dockerfile.standalone
56+ push: true
57+ target: release
58+ tags: ${{ steps.pgsstandalonemeta.outputs.tags }}
59+ labels: ${{ steps.pgsstandalonemeta.outputs.labels }}
60+ platforms: ${{ env.PLATFORMS }}
61+ cache-from: type=gha
62+ cache-to: type=gha,mode=max
63 build-bouncer:
64 runs-on: ubuntu-22.04
65 needs: test