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
|
||||
|
||||
depends_on:
|
||||
- release-latest
|
||||
- release-version
|
||||
- build
|
||||
|
||||
trigger:
|
||||
ref:
|
||||
@ -378,8 +377,7 @@ steps:
|
||||
repo: vikunja/frontend
|
||||
tags: unstable
|
||||
build_args:
|
||||
- USE_RELEASE=true
|
||||
- RELEASE_VERSION=unstable
|
||||
- USE_RELEASE=false
|
||||
platforms:
|
||||
- linux/386
|
||||
- linux/amd64
|
||||
@ -413,8 +411,7 @@ steps:
|
||||
from_secret: docker_password
|
||||
repo: vikunja/frontend
|
||||
build_args:
|
||||
- USE_RELEASE=true
|
||||
- RELEASE_VERSION=${DRONE_TAG##v}
|
||||
- USE_RELEASE=false
|
||||
platforms:
|
||||
- linux/386
|
||||
- linux/amd64
|
||||
@ -524,6 +521,6 @@ steps:
|
||||
from_secret: crowdin_key
|
||||
---
|
||||
kind: signature
|
||||
hmac: 511c2a090e9efd4c942980d971204adb6321540bb01c92409dd9bf8463b7f6f4
|
||||
hmac: a41964ffb64789df5553d7f51e05ac60d8243a4d8b7dfdd5be8de851aea5f9d7
|
||||
|
||||
...
|
||||
|
@ -8,7 +8,7 @@ FROM --platform=$BUILDPLATFORM node:20-alpine AS builder
|
||||
WORKDIR /build
|
||||
|
||||
ARG USE_RELEASE=false
|
||||
ARG RELEASE_VERSION=main
|
||||
ARG RELEASE_VERSION=unstable
|
||||
ENV PNPM_CACHE_FOLDER .cache/pnpm/
|
||||
|
||||
COPY package.json ./
|
||||
|
Loading…
x
Reference in New Issue
Block a user