fix(ci/cd): Stable imagage used latest as a base
This commit is contained in:
parent
37c52c6887
commit
f3ac33ae5f
3 changed files with 10 additions and 7 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue