mirror of
https://github.com/Eugeny/tabby-web.git
synced 2026-08-18 07:16:03 +01:00
wip
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
# syntax=docker/dockerfile:1
|
||||
FROM node:12-alpine AS build
|
||||
ARG BACKEND_URL
|
||||
WORKDIR /app
|
||||
COPY package.json yarn.lock ./
|
||||
RUN yarn
|
||||
|
||||
@@ -4,9 +4,11 @@ steps:
|
||||
args:
|
||||
- build
|
||||
- '-t'
|
||||
- '${_DOCKER_PUBLISH_URL}'
|
||||
- '${_DOCKER_TAG}'
|
||||
- '--cache-from'
|
||||
- '${_DOCKER_PUBLISH_URL}'
|
||||
- '${_DOCKER_TAG}'
|
||||
- '--build-arg'
|
||||
- 'BACKEND_URL=${_BACKEND_URL}'
|
||||
- '.'
|
||||
|
||||
images: ['${_DOCKER_TAG}']
|
||||
|
||||
Reference in New Issue
Block a user