From 80772f7578a78e45446e0d7e3c9e7fce62a3cade Mon Sep 17 00:00:00 2001 From: kolaente Date: Fri, 16 Jun 2023 20:07:43 +0200 Subject: [PATCH] fix(ci): directly build docker images and not use releases to avoid caching issues --- .drone.yml | 11 ++++------- Dockerfile | 2 +- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/.drone.yml b/.drone.yml index 094d2b5cb..71b7be407 100644 --- a/.drone.yml +++ b/.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 ... diff --git a/Dockerfile b/Dockerfile index fa5edee35..d20405020 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 ./