repos / pico

pico services - prose.sh, pastes.sh, imgs.sh, feeds.sh, pgs.sh
git clone https://github.com/picosh/pico.git

commit
565f24f
parent
609d54f
author
Antonio Mika
date
2022-12-12 00:29:07 +0000 UTC
Return env vars
1 files changed,  +14, -0
M .github/workflows/build.yml
+14, -0
 1@@ -11,6 +11,12 @@ on:
 2     branches:
 3       - main
 4 
 5+env:
 6+  REGISTRY: ghcr.io
 7+  PLATFORM: |
 8+    linux/amd64
 9+    linux/arm64
10+
11 jobs:
12   test:
13     runs-on: ubuntu-22.04
14@@ -58,18 +64,26 @@ jobs:
15       uses: ./.github/actions/build
16       with:
17         app: lists
18+        platforms: ${{ env.PLATFORM }}
19+        registry: ${{ env.REGISTRY }}
20     - name: Run docker build for prose
21       uses: ./.github/actions/build
22       with:
23         app: prose
24+        platforms: ${{ env.PLATFORM }}
25+        registry: ${{ env.REGISTRY }}
26     - name: Run docker build for pastes
27       uses: ./.github/actions/build
28       with:
29         app: pastes
30+        platforms: ${{ env.PLATFORM }}
31+        registry: ${{ env.REGISTRY }}
32     - name: Run docker build for imgs
33       uses: ./.github/actions/build
34       with:
35         app: imgs
36+        platforms: ${{ env.PLATFORM }}
37+        registry: ${{ env.REGISTRY }}
38   build-caddy:
39     runs-on: ubuntu-22.04
40     needs: test