2024-07-01 08:25:16 +03:00
|
|
|
name: Daily build
|
|
|
|
|
|
|
|
env:
|
2024-07-26 10:11:26 +03:00
|
|
|
NEXTCLOUD_UPSTREAM_VERSION: 29.0.4
|
2024-07-01 08:25:16 +03:00
|
|
|
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 }}
|
2024-07-01 08:46:33 +03:00
|
|
|
ghcr.io/0ranki/nextcloud-previews:next
|