aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-03-22 09:14:20 +0100
committerChocobozzz <me@florianbigard.com>2023-03-22 11:25:30 +0100
commitb070b2e5e8334c44fa9868bfe281287c6a84350e (patch)
tree9915d8f0d6bb8ea430c5d5305e3ac02d42171f50
parentb926a23c6275aee8ca36b782b4565eb64de31beb (diff)
downloadPeerTube-b070b2e5e8334c44fa9868bfe281287c6a84350e.tar.gz
PeerTube-b070b2e5e8334c44fa9868bfe281287c6a84350e.tar.zst
PeerTube-b070b2e5e8334c44fa9868bfe281287c6a84350e.zip
Try to fix docker build timeout
-rw-r--r--.github/workflows/docker.yml10
1 files changed, 6 insertions, 4 deletions
diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml
index e7be01f51..e5dfcc274 100644
--- a/.github/workflows/docker.yml
+++ b/.github/workflows/docker.yml
@@ -24,9 +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\" }" 27 one="{ \"file\": \"./support/docker/production/Dockerfile.bullseye\", \"ref\": \"develop\", \"tags\": \"chocobozzz/peertube:develop-bullseye\", \"platforms\": \"linux/amd64\" }"
28 two="{ \"file\": \"./support/docker/production/Dockerfile.bullseye\", \"ref\": \"master\", \"tags\": \"chocobozzz/peertube:production-bullseye,chocobozzz/peertube:$(git describe --abbrev=0)-bullseye\" }" 28 one="{ \"file\": \"./support/docker/production/Dockerfile.bullseye\", \"ref\": \"develop\", \"tags\": \"chocobozzz/peertube:develop-bullseye\", \"platforms\": \"linux/arm64\" }"
29 three="{ \"file\": \"./support/docker/production/Dockerfile.nginx\", \"ref\": \"master\", \"tags\": \"chocobozzz/peertube-webserver:latest\" }" 29 two="{ \"file\": \"./support/docker/production/Dockerfile.bullseye\", \"ref\": \"master\", \"tags\": \"chocobozzz/peertube:production-bullseye,chocobozzz/peertube:$(git describe --abbrev=0)-bullseye\", \"platforms\": \"linux/amd64\" }"
30 two="{ \"file\": \"./support/docker/production/Dockerfile.bullseye\", \"ref\": \"master\", \"tags\": \"chocobozzz/peertube:production-bullseye,chocobozzz/peertube:$(git describe --abbrev=0)-bullseye\", \"platforms\": \"linux/arm64\" }"
31 three="{ \"file\": \"./support/docker/production/Dockerfile.nginx\", \"ref\": \"master\", \"tags\": \"chocobozzz/peertube-webserver:latest\", \"platforms\": \"linux/amd64,linux/arm64\" }"
30 32
31 matrix="[$one,$two,$three]" 33 matrix="[$one,$two,$three]"
32 echo "matrix={\"include\":$matrix}" >> $GITHUB_OUTPUT 34 echo "matrix={\"include\":$matrix}" >> $GITHUB_OUTPUT
@@ -66,7 +68,7 @@ jobs:
66 uses: docker/build-push-action@v3 68 uses: docker/build-push-action@v3
67 with: 69 with:
68 context: '.' 70 context: '.'
69 platforms: linux/amd64,linux/arm64 71 platforms: ${{ matrix.platforms }}
70 push: true 72 push: true
71 file: ${{ matrix.file }} 73 file: ${{ matrix.file }}
72 tags: ${{ matrix.tags }} 74 tags: ${{ matrix.tags }}