2023-11-02 20:35:55 +02:00
|
|
|
# This is a basic workflow to help you get started with Actions
|
|
|
|
|
2023-11-07 06:26:04 +02:00
|
|
|
name: Daily build
|
|
|
|
|
|
|
|
env:
|
2023-11-30 18:15:06 +02:00
|
|
|
NEXTCLOUD_UPSTREAM_VERSION: 27.1.4
|
2023-11-07 06:26:04 +02:00
|
|
|
IMAGE_MAJOR_VERSION: 27
|
2023-11-02 20:35:55 +02:00
|
|
|
|
|
|
|
# Controls when the workflow will run
|
|
|
|
on:
|
|
|
|
schedule:
|
|
|
|
- cron: "39 20 * * *"
|
|
|
|
|
|
|
|
# Allows you to run this workflow manually from the Actions tab
|
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
jobs:
|
2023-11-07 06:26:04 +02:00
|
|
|
daily_build:
|
2023-11-02 20:35:55 +02:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
|
2023-11-07 06:26:04 +02:00
|
|
|
- name: Daily build
|
2023-11-02 20:35:55 +02:00
|
|
|
uses: VaultVulp/gp-docker-action@1.6.0
|
|
|
|
with:
|
|
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
image-name: nextcloud
|
|
|
|
extract-git-tag: false
|
2023-11-07 06:26:04 +02:00
|
|
|
additional-image-tags: ${{ env.IMAGE_MAJOR_VERSION }} ${{ env.NEXTCLOUD_UPSTREAM_VERSION }}
|
|
|
|
custom-args: --platform=linux/arm64,linux/amd64 --build-arg="NEXTCLOUD_UPSTREAM_VERSION=${{ env.NEXTCLOUD_UPSTREAM_VERSION }}"
|
2023-11-02 20:35:55 +02:00
|
|
|
|