|
|
@ -1,15 +1,15 @@
|
|
|
|
name: Build and push dev-build docker image
|
|
|
|
name: Build and push docker image
|
|
|
|
|
|
|
|
|
|
|
|
on:
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
push:
|
|
|
|
tags:
|
|
|
|
tags:
|
|
|
|
- 3.* # on push releast with tag 3.*
|
|
|
|
- 3.* # on push releast with tag 3.*
|
|
|
|
branches:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
- master # every push on `master` branch
|
|
|
|
workflow_dispatch: # on button click
|
|
|
|
workflow_dispatch: # on button click
|
|
|
|
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
jobs:
|
|
|
|
dev-docker-build:
|
|
|
|
docker-build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
|
|
|
- name: Checkout
|
|
|
@ -24,6 +24,7 @@ jobs:
|
|
|
|
DOCKER_IMAGE="cloudreve/cloudreve"
|
|
|
|
DOCKER_IMAGE="cloudreve/cloudreve"
|
|
|
|
TAGS="${DOCKER_IMAGE}:latest,${DOCKER_IMAGE}:${CLOUDREVE_LATEST_VERSION}"
|
|
|
|
TAGS="${DOCKER_IMAGE}:latest,${DOCKER_IMAGE}:${CLOUDREVE_LATEST_VERSION}"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo "CLOUDREVE_LATEST_VERSION:${CLOUDREVE_LATEST_VERSION}"
|
|
|
|
echo ::set-output name=tags::${TAGS}
|
|
|
|
echo ::set-output name=tags::${TAGS}
|
|
|
|
- name: Setup QEMU Emulator
|
|
|
|
- name: Setup QEMU Emulator
|
|
|
|
uses: docker/setup-qemu-action@master
|
|
|
|
uses: docker/setup-qemu-action@master
|