aboutsummaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-03-27 09:00:16 +0200
committerChocobozzz <me@florianbigard.com>2023-03-27 09:00:16 +0200
commitebd61437c1ec92bea9772924c7051cb00d71f778 (patch)
tree2ea0bbf915661e57d7f8e898fd158de52742bf1d /.github
parent1e3e64a679ef15801a174cd343fb6f725afbcabb (diff)
downloadPeerTube-ebd61437c1ec92bea9772924c7051cb00d71f778.tar.gz
PeerTube-ebd61437c1ec92bea9772924c7051cb00d71f778.tar.zst
PeerTube-ebd61437c1ec92bea9772924c7051cb00d71f778.zip
Revert matrix for docker build
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/docker.yml12
1 files changed, 5 insertions, 7 deletions
diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml
index f6af8484a..e7be01f51 100644
--- a/.github/workflows/docker.yml
+++ b/.github/workflows/docker.yml
@@ -24,13 +24,11 @@ jobs:
24 # FIXME: https://github.com/actions/checkout/issues/290 24 # FIXME: https://github.com/actions/checkout/issues/290
25 git fetch --force --tags 25 git fetch --force --tags
26 26
27 one="{ \"file\": \"./support/docker/production/Dockerfile.bullseye\", \"ref\": \"develop\", \"tags\": \"chocobozzz/peertube:develop-bullseye\", \"platforms\": \"linux/amd64\" }" 27 one="{ \"file\": \"./support/docker/production/Dockerfile.bullseye\", \"ref\": \"develop\", \"tags\": \"chocobozzz/peertube:develop-bullseye\" }"
28 two="{ \"file\": \"./support/docker/production/Dockerfile.bullseye\", \"ref\": \"develop\", \"tags\": \"chocobozzz/peertube:develop-bullseye\", \"platforms\": \"linux/arm64\" }" 28 two="{ \"file\": \"./support/docker/production/Dockerfile.bullseye\", \"ref\": \"master\", \"tags\": \"chocobozzz/peertube:production-bullseye,chocobozzz/peertube:$(git describe --abbrev=0)-bullseye\" }"
29 three="{ \"file\": \"./support/docker/production/Dockerfile.bullseye\", \"ref\": \"master\", \"tags\": \"chocobozzz/peertube:production-bullseye,chocobozzz/peertube:$(git describe --abbrev=0)-bullseye\", \"platforms\": \"linux/amd64\" }" 29 three="{ \"file\": \"./support/docker/production/Dockerfile.nginx\", \"ref\": \"master\", \"tags\": \"chocobozzz/peertube-webserver:latest\" }"
30 four="{ \"file\": \"./support/docker/production/Dockerfile.bullseye\", \"ref\": \"master\", \"tags\": \"chocobozzz/peertube:production-bullseye,chocobozzz/peertube:$(git describe --abbrev=0)-bullseye\", \"platforms\": \"linux/arm64\" }"
31 five="{ \"file\": \"./support/docker/production/Dockerfile.nginx\", \"ref\": \"master\", \"tags\": \"chocobozzz/peertube-webserver:latest\", \"platforms\": \"linux/amd64,linux/arm64\" }"
32 30
33 matrix="[$one,$two,$three,$four,$five]" 31 matrix="[$one,$two,$three]"
34 echo "matrix={\"include\":$matrix}" >> $GITHUB_OUTPUT 32 echo "matrix={\"include\":$matrix}" >> $GITHUB_OUTPUT
35 33
36 docker: 34 docker:
@@ -68,7 +66,7 @@ jobs:
68 uses: docker/build-push-action@v3 66 uses: docker/build-push-action@v3
69 with: 67 with:
70 context: '.' 68 context: '.'
71 platforms: ${{ matrix.platforms }} 69 platforms: linux/amd64,linux/arm64
72 push: true 70 push: true
73 file: ${{ matrix.file }} 71 file: ${{ matrix.file }}
74 tags: ${{ matrix.tags }} 72 tags: ${{ matrix.tags }}