fix(ci/cd): Stable imagage used latest as a base
Some checks failed
Build / build-stable (push) Failing after 10m12s
Build / build-latest (push) Successful in 14m48s

This commit is contained in:
Jiří Štefka 2024-04-29 02:58:38 +02:00
parent 37c52c6887
commit f3ac33ae5f
Signed by: jiriks74
GPG key ID: 1D5E30D3DB2264DE
3 changed files with 10 additions and 7 deletions

View file

@ -52,8 +52,9 @@ jobs:
uses: docker/build-push-action@v2
with:
push: true
tags: jiriks74/nextcloud-extended:${{ steps.extract-version.outputs.version }},jiriks74/nextcloud-extended:latest
platforms: linux/amd64,linux/arm64
context: .
file: ./Dockerfile
context: .
build-args: NEXTCLOUD_VERSION=${{ steps.extract-version.outputs.version }}
platforms: linux/amd64,linux/arm64
tags: jiriks74/nextcloud-extended:${{ steps.extract-version.outputs.version }},jiriks74/nextcloud-extended:latest

View file

@ -55,8 +55,9 @@ jobs:
uses: docker/build-push-action@v2
with:
push: true
tags: jiriks74/nextcloud-extended:${{ steps.extract-version.outputs.version }},jiriks74/nextcloud-extended:${{ steps.extract-version.outputs.version-major }},jiriks74/nextcloud-extended:stable
platforms: linux/amd64,linux/arm64
context: .
file: ./Dockerfile
context: .
build-args: NEXTCLOUD_VERSION=${{ steps.extract-version.outputs.version }}
platforms: linux/amd64,linux/arm64
tags: jiriks74/nextcloud-extended:${{ steps.extract-version.outputs.version }},jiriks74/nextcloud-extended:${{ steps.extract-version.outputs.version-major }},jiriks74/nextcloud-extended:stable

View file

@ -1,4 +1,5 @@
FROM nextcloud:latest
ARG NEXTCLOUD_VERSION
FROM nextcloud:${NEXTCLOUD_VERSION}
LABEL maintainer="Jiří Štefka <jiri@stefka.eu>"
RUN apt update && apt upgrade -y --no-install-recommends && apt install gnupg2 ffmpeg aria2 libmagickcore-dev -y --no-install-recommends