fix(ci): directly build docker images and not use releases to avoid caching issues
This commit is contained in:
parent
faa62985df
commit
80772f7578
11
.drone.yml
11
.drone.yml
@ -349,8 +349,7 @@ type: docker
|
|||||||
name: docker-release
|
name: docker-release
|
||||||
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- release-latest
|
- build
|
||||||
- release-version
|
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
ref:
|
ref:
|
||||||
@ -378,8 +377,7 @@ steps:
|
|||||||
repo: vikunja/frontend
|
repo: vikunja/frontend
|
||||||
tags: unstable
|
tags: unstable
|
||||||
build_args:
|
build_args:
|
||||||
- USE_RELEASE=true
|
- USE_RELEASE=false
|
||||||
- RELEASE_VERSION=unstable
|
|
||||||
platforms:
|
platforms:
|
||||||
- linux/386
|
- linux/386
|
||||||
- linux/amd64
|
- linux/amd64
|
||||||
@ -413,8 +411,7 @@ steps:
|
|||||||
from_secret: docker_password
|
from_secret: docker_password
|
||||||
repo: vikunja/frontend
|
repo: vikunja/frontend
|
||||||
build_args:
|
build_args:
|
||||||
- USE_RELEASE=true
|
- USE_RELEASE=false
|
||||||
- RELEASE_VERSION=${DRONE_TAG##v}
|
|
||||||
platforms:
|
platforms:
|
||||||
- linux/386
|
- linux/386
|
||||||
- linux/amd64
|
- linux/amd64
|
||||||
@ -524,6 +521,6 @@ steps:
|
|||||||
from_secret: crowdin_key
|
from_secret: crowdin_key
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: 511c2a090e9efd4c942980d971204adb6321540bb01c92409dd9bf8463b7f6f4
|
hmac: a41964ffb64789df5553d7f51e05ac60d8243a4d8b7dfdd5be8de851aea5f9d7
|
||||||
|
|
||||||
...
|
...
|
||||||
|
@ -8,7 +8,7 @@ FROM --platform=$BUILDPLATFORM node:20-alpine AS builder
|
|||||||
WORKDIR /build
|
WORKDIR /build
|
||||||
|
|
||||||
ARG USE_RELEASE=false
|
ARG USE_RELEASE=false
|
||||||
ARG RELEASE_VERSION=main
|
ARG RELEASE_VERSION=unstable
|
||||||
ENV PNPM_CACHE_FOLDER .cache/pnpm/
|
ENV PNPM_CACHE_FOLDER .cache/pnpm/
|
||||||
|
|
||||||
COPY package.json ./
|
COPY package.json ./
|
||||||
|
Loading…
x
Reference in New Issue
Block a user