Prepare dockerfile step
This commit is contained in:
parent
48ed75f37a
commit
5be4a4de49
15
.drone.yml
15
.drone.yml
|
@ -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:
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM vectorim/element-web:VERSION as builder
|
||||
FROM vectorim/element-web:ELEMENT_VERSION as builder
|
||||
|
||||
ARG REPO_ARCH
|
||||
|
||||
|
|
Loading…
Reference in a new issue