Prepare dockerfile step
Some checks failed
continuous-integration/drone Build is passing
continuous-integration/drone/tag Build is failing

This commit is contained in:
Aode (lion) 2021-12-21 13:06:21 -06:00
parent 48ed75f37a
commit 5be4a4de49
2 changed files with 16 additions and 1 deletions

View file

@ -6,6 +6,11 @@ platform:
arch: amd64
steps:
- name: prepare
image: alpine:latest
commands:
- sed -i'' "s/ELEMENT_VERSION/$(echo "${DRONE_TAG}" | cut -d '-' -f 1)/g" Dockerfile
- name: push
image: plugins/docker:20
settings:
@ -33,6 +38,11 @@ platform:
arch: amd64
steps:
- name: prepare
image: alpine:latest
commands:
- sed -i'' "s/ELEMENT_VERSION/$(echo "${DRONE_TAG}" | cut -d '-' -f 1)/g" Dockerfile
- name: push
image: plugins/docker:20
settings:
@ -60,6 +70,11 @@ platform:
arch: amd64
steps:
- name: prepare
image: alpine:latest
commands:
- sed -i'' "s/ELEMENT_VERSION/$(echo "${DRONE_TAG}" | cut -d '-' -f 1)/g" Dockerfile
- name: push
image: plugins/docker:20
settings:

View file

@ -1,4 +1,4 @@
FROM vectorim/element-web:VERSION as builder
FROM vectorim/element-web:ELEMENT_VERSION as builder
ARG REPO_ARCH