]> Untitled Git - lemmy.git/commitdiff
Removing tag generation from drone.
authorDessalines <tyhou13@gmx.com>
Fri, 15 Jan 2021 17:28:49 +0000 (12:28 -0500)
committerDessalines <tyhou13@gmx.com>
Fri, 15 Jan 2021 17:28:49 +0000 (12:28 -0500)
.drone.yml

index 9b111a4069003619678ed35b7a4a998a6bbfc7a9..9924af5f4ab178289e1c9545ecc7b4cd20bc9fce 100644 (file)
@@ -65,14 +65,6 @@ steps:
       - yarn
       - yarn api-test
 
-  - name: create docker tags
-    image: node:15-alpine3.12
-    commands:
-      - echo "$(git describe),latest" > .tags
-    when:
-      ref:
-      - refs/tags/*
-
   - name: make release build and push to docker hub
     image: plugins/docker
     settings:
@@ -139,14 +131,6 @@ steps:
       - yarn
       - yarn api-test
 
-  - name: create docker tags
-    image: node:15-buster-slim
-    commands:
-      - echo "$(git describe),latest" > .tags
-    when:
-      ref:
-        - refs/tags/*
-
   - name: make release build and push to docker hub
     image: plugins/docker
     settings:
@@ -156,6 +140,8 @@ steps:
       password:
         from_secret: docker_password
       repo: dessalines/lemmy
+      auto_tag: true
+      auto_tag_suffix: arm64
     when:
       ref:
         - refs/tags/*
@@ -165,4 +151,4 @@ services:
     image: postgres:12-alpine
     environment:
       POSTGRES_USER: lemmy
-      POSTGRES_PASSWORD: password
\ No newline at end of file
+      POSTGRES_PASSWORD: password