try with separate step

This commit is contained in:
Felix Ableitner 2021-04-07 16:40:31 +02:00
parent bf3074daf5
commit f7eafe5416

View file

@ -66,13 +66,26 @@ steps:
repo: dessalines/lemmy repo: dessalines/lemmy
auto_tag: true auto_tag: true
auto_tag_suffix: linux-amd64 auto_tag_suffix: linux-amd64
when:
ref:
- refs/tags/*
- name: build latest development version and push to docker hub
image: plugins/docker
settings:
dockerfile: docker/prod/Dockerfile
username:
from_secret: docker_username
password:
from_secret: docker_password
repo: dessalines/lemmy
tags:
- dev
when: when:
branch: branch:
include: include:
- main - main
- drone-release-main - drone-release-main
ref:
- refs/tags/*
- name: push to docker manifest - name: push to docker manifest
image: plugins/manifest image: plugins/manifest