Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix docker build, again

Chocobozzz345397330be0
diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml
index 0b238f0687..593b4f52f6 100644
--- a/.github/workflows/docker.yml
+++ b/.github/workflows/docker.yml
@@ -21,12 +21,11 @@ jobs:
uses: actions/checkout@v4
with:
ref: master
+ fetch-depth: 0
+ fetch-tags: true
- name: Set matrix for build
id: set-matrix
run: |
- # FIXME: https://github.com/actions/checkout/issues/290
- git fetch --force --tags
-
one="{ \"build-peertube\": true, \"file\": \"./support/docker/production/Dockerfile\", \"ref\": \"develop\", \"tags\": \"chocobozzz/peertube:develop-trixie,chocobozzz/peertube:develop\" }"
two="{ \"build-peertube\": true, \"file\": \"./support/docker/production/Dockerfile\", \"ref\": \"master\", \"tags\": \"chocobozzz/peertube:production-trixie,chocobozzz/peertube:$(git describe --abbrev=0)-trixie,chocobozzz/peertube:production,chocobozzz/peertube:$(git describe --abbrev=0)\" }"
three="{ \"build-peertube\": false, \"file\": \"./support/docker/production/Dockerfile.nginx\", \"ref\": \"master\", \"tags\": \"chocobozzz/peertube-webserver:latest\" }"