]> Untitled Git - lemmy.git/commitdiff
Stop using lemmy-ui:dev images (#1880)
authorDessalines <dessalines@users.noreply.github.com>
Fri, 5 Nov 2021 21:49:15 +0000 (17:49 -0400)
committerGitHub <noreply@github.com>
Fri, 5 Nov 2021 21:49:15 +0000 (21:49 +0000)
* Stop using lemmy-ui:dev images

* Dont publish dev docker images with drone.

.drone.yml
docker/dev/docker-compose.yml
docker/federation/docker-compose.yml
docker/prod/deploy.sh

index e96fee7cf6d3c172d939acec4032b03eaa617807..a4e44b3387dcc209130553cc3cb16cb17d0bf4c7 100644 (file)
@@ -62,38 +62,6 @@ steps:
       - yarn
       - yarn api-test
 
-  - name: publish dev docker image
-    image: plugins/docker
-    settings:
-      dockerfile: docker/prod/Dockerfile
-      username:
-        from_secret: docker_username
-      password:
-        from_secret: docker_password
-      repo: dessalines/lemmy
-      tags:
-        - dev-linux-amd64
-    when:
-      ref:
-        - refs/heads/main
-
-  - name: publish dev docker manifest
-    image: plugins/manifest
-    settings:
-      username:
-        from_secret: docker_username
-      password:
-        from_secret: docker_password
-      target: "dessalines/lemmy:dev"
-      template: "dessalines/lemmy:dev-OS-ARCH"
-      platforms:
-        - linux/amd64
-        - linux/arm64
-      ignore_missing: true
-    when:
-      ref:
-        - refs/heads/main
-
   - name: publish release docker image
     image: plugins/docker
     settings:
@@ -205,38 +173,6 @@ steps:
       - yarn
       - yarn api-test
 
-  - name: publish dev docker image
-    image: plugins/docker
-    settings:
-      dockerfile: docker/prod/Dockerfile.arm
-      username:
-        from_secret: docker_username
-      password:
-        from_secret: docker_password
-      repo: dessalines/lemmy
-      tags:
-        - dev-linux-arm64
-    when:
-      ref:
-        - refs/heads/main
-
-  - name: publish dev docker manifest
-    image: plugins/manifest
-    settings:
-      username:
-        from_secret: docker_username
-      password:
-        from_secret: docker_password
-      target: "dessalines/lemmy:dev"
-      template: "dessalines/lemmy:dev-OS-ARCH"
-      platforms:
-        - linux/amd64
-        - linux/arm64
-      ignore_missing: true
-    when:
-      ref:
-        - refs/heads/main
-
   - name: publish release docker image
     image: plugins/docker
     settings:
index e1ea333adf963baeec34726565a77b312bb03735..efc1ac073a9a7bbdd03200e1c77470595ac7ec0c 100644 (file)
@@ -26,7 +26,7 @@ services:
       - postgres
 
   lemmy-ui:
-    image: dessalines/lemmy-ui:dev
+    image: dessalines/lemmy-ui:0.13.0
     restart: always
     environment:
       - LEMMY_INTERNAL_HOST=lemmy:8536
index bcd4f914c2d17d96b5f75bb256d98c2824da0dba..294bb37fe1e819e3f4ad4b575be85af5bdb9630c 100644 (file)
@@ -86,7 +86,7 @@ services:
       - ./volumes/postgres_beta:/var/lib/postgresql/data
 
   lemmy-gamma-ui:
-    image: dessalines/lemmy-ui:dev
+    image: dessalines/lemmy-ui:0.13.0
     environment:
       - LEMMY_INTERNAL_HOST=lemmy-gamma:8561
       - LEMMY_EXTERNAL_HOST=localhost:8561
@@ -116,7 +116,7 @@ services:
 
   # An instance with only an allowlist for beta
   lemmy-delta-ui:
-    image: dessalines/lemmy-ui:dev
+    image: dessalines/lemmy-ui:0.13.0
     environment:
       - LEMMY_INTERNAL_HOST=lemmy-delta:8571
       - LEMMY_EXTERNAL_HOST=localhost:8571
@@ -146,7 +146,7 @@ services:
 
   # An instance who has a blocklist, with lemmy-alpha blocked
   lemmy-epsilon-ui:
-    image: dessalines/lemmy-ui:dev
+    image: dessalines/lemmy-ui:0.13.3
     environment:
       - LEMMY_INTERNAL_HOST=lemmy-epsilon:8581
       - LEMMY_EXTERNAL_HOST=localhost:8581
index bc31bb628027bfd74cc46f34ca0a50abf380fd86..cfdc83b2b2ddd74999e6cb930e3bdcd9c31f2ba2 100755 (executable)
@@ -10,6 +10,8 @@ third_semver=$(echo $new_tag | cut -d "." -f 3)
 if [ ! -z "${third_semver##*[!0-9]*}" ]; then
   sed -i "s/dessalines\/lemmy:.*/dessalines\/lemmy:$new_tag/" ../prod/docker-compose.yml
   sed -i "s/dessalines\/lemmy-ui:.*/dessalines\/lemmy-ui:$new_tag/" ../prod/docker-compose.yml
+  sed -i "s/dessalines\/lemmy-ui:.*/dessalines\/lemmy-ui:$new_tag/" ../dev/docker-compose.yml
+  sed -i "s/dessalines\/lemmy-ui:.*/dessalines\/lemmy-ui:$new_tag/" ../federation/docker-compose.yml
   git add ../prod/docker-compose.yml
 
   # Setting the version for Ansible