Compare commits
4 Commits
6e9d960fdc
...
8f94371714
Author | SHA1 | Date |
---|---|---|
Jarno Rankinen | 8f94371714 | |
Jarno Rankinen | adb74219a5 | |
Jarno Rankinen | ac44fa09ef | |
Jarno Rankinen | 4dcebd770b |
|
@ -1,18 +1,16 @@
|
||||||
# This is a basic workflow to help you get started with Actions
|
|
||||||
|
|
||||||
name: Daily build
|
name: Daily build
|
||||||
|
|
||||||
env:
|
env:
|
||||||
NEXTCLOUD_UPSTREAM_VERSION: 28.0.6
|
NEXTCLOUD_UPSTREAM_VERSION: 28.0.7
|
||||||
IMAGE_MAJOR_VERSION: 28
|
IMAGE_MAJOR_VERSION: 28
|
||||||
|
# Remember to change on.push.tags too!
|
||||||
|
|
||||||
# Controls when the workflow will run
|
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: "39 20 * * *"
|
- cron: "39 20 * * *"
|
||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- "*"
|
- "28.*"
|
||||||
|
|
||||||
# Allows you to run this workflow manually from the Actions tab
|
# Allows you to run this workflow manually from the Actions tab
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
@ -35,16 +33,13 @@ jobs:
|
||||||
username: ${{ github.repository_owner }}
|
username: ${{ github.repository_owner }}
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- uses: docker/build-push-action@v5
|
- uses: docker/build-push-action@v5
|
||||||
name: Daily build of ${{ env.IMAGE_MAJOR_VERSION }}.x
|
name: Daily build - current ( ${{ env.NEXTCLOUD_UPSTREAM_VERSION }} )
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
push: true
|
push: true
|
||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64
|
||||||
build-args: NEXTCLOUD_UPSTREAM_VERSION=${{ env.NEXTCLOUD_UPSTREAM_VERSION }}
|
build-args: NEXTCLOUD_UPSTREAM_VERSION=${{ env.NEXTCLOUD_UPSTREAM_VERSION }}
|
||||||
tags: |
|
tags: |
|
||||||
ghcr.io/0ranki/nextcloud-previews/nextcloud:${{ env.NEXTCLOUD_UPSTREAM_VERSION }}
|
|
||||||
ghcr.io/0ranki/nextcloud-previews/nextcloud:${{ env.IMAGE_MAJOR_VERSION }}
|
|
||||||
ghcr.io/0ranki/nextcloud-previews/nextcloud:latest
|
|
||||||
ghcr.io/0ranki/nextcloud-previews:${{ env.NEXTCLOUD_UPSTREAM_VERSION }}
|
ghcr.io/0ranki/nextcloud-previews:${{ env.NEXTCLOUD_UPSTREAM_VERSION }}
|
||||||
ghcr.io/0ranki/nextcloud-previews:${{ env.IMAGE_MAJOR_VERSION }}
|
ghcr.io/0ranki/nextcloud-previews:${{ env.IMAGE_MAJOR_VERSION }}
|
||||||
ghcr.io/0ranki/nextcloud-previews:latest
|
ghcr.io/0ranki/nextcloud-previews:latest
|
||||||
|
|
|
@ -0,0 +1,45 @@
|
||||||
|
name: Daily build
|
||||||
|
|
||||||
|
env:
|
||||||
|
NEXTCLOUD_UPSTREAM_VERSION: 29.0.3
|
||||||
|
IMAGE_MAJOR_VERSION: 29
|
||||||
|
# Remember to change on.push.tags too!
|
||||||
|
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: "39 20 * * *"
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- "29*"
|
||||||
|
|
||||||
|
# Allows you to run this workflow manually from the Actions tab
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
- name: Set up QEMU
|
||||||
|
uses: docker/setup-qemu-action@v3
|
||||||
|
- name: Set up Docker Buildx
|
||||||
|
uses: docker/setup-buildx-action@v3
|
||||||
|
- name: Login to ghcr.io
|
||||||
|
uses: docker/login-action@v3
|
||||||
|
with:
|
||||||
|
registry: ghcr.io
|
||||||
|
username: ${{ github.repository_owner }}
|
||||||
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
- uses: docker/build-push-action@v5
|
||||||
|
name: Daily build - next ( ${{ env.NEXTCLOUD_UPSTREAM_VERSION }} )
|
||||||
|
with:
|
||||||
|
context: .
|
||||||
|
push: true
|
||||||
|
platforms: linux/amd64,linux/arm64
|
||||||
|
build-args: NEXTCLOUD_UPSTREAM_VERSION=${{ env.NEXTCLOUD_UPSTREAM_VERSION }}
|
||||||
|
tags: |
|
||||||
|
ghcr.io/0ranki/nextcloud-previews:${{ env.NEXTCLOUD_UPSTREAM_VERSION }}
|
||||||
|
ghcr.io/0ranki/nextcloud-previews:${{ env.IMAGE_MAJOR_VERSION }}
|
||||||
|
ghcr.io/0ranki/nextcloud-previews:next
|
|
@ -12,7 +12,7 @@ I strongly recommend using a specific major version in your docker-compose, kube
|
||||||
### Update to the image name
|
### Update to the image name
|
||||||
Starting from version 27.1.4 the image is the same as the repo, **`ghcr.io/0ranki/nextcloud-previews`**
|
Starting from version 27.1.4 the image is the same as the repo, **`ghcr.io/0ranki/nextcloud-previews`**
|
||||||
|
|
||||||
The old `ghcr.io/0ranki/nextcloud-previews/nextcloud` still works, but pushes will stop at some point in the future.
|
> **Tagging the old `ghcr.io/0ranki/nextcloud-previews/nextcloud` has been stopped.**
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
|
@ -27,6 +27,11 @@ Simply use `ghcr.io/0ranki/nextcloud-previews:<version>`
|
||||||
instead of `docker.io/library/nextcloud`.
|
instead of `docker.io/library/nextcloud`.
|
||||||
|
|
||||||
### `latest` currently points to 28.0.x
|
### `latest` currently points to 28.0.x
|
||||||
|
#### `next` currently points to 29.0.x
|
||||||
|
|
||||||
|
The latest version stays one version behind the current upstream latest image.
|
||||||
|
In addition to the `latest` tag, there's also the `next` tag, which is the latest released
|
||||||
|
Nextcloud version.
|
||||||
|
|
||||||
To pull e.g. version 27.1.4:
|
To pull e.g. version 27.1.4:
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue