-
-
Notifications
You must be signed in to change notification settings - Fork 45
59 lines (50 loc) · 1.21 KB
/
releaseDev.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
name: "[dev] Release"
on:
push:
branches:
- "dev"
paths-ignore:
- "**/*.md"
- ".vscode/**"
- "artwork/**"
- "wiki/**"
jobs:
Build:
uses: ./.github/workflows/build.yml
Release:
name: Release dev build on GitHub
needs: Build
runs-on: ubuntu-latest
steps:
- name: Download All Artifacts
uses: actions/download-artifact@v4
with:
path: ./build/
merge-multiple: true
- name: Publish dev release on GitHub
uses: marvinpinto/action-automatic-releases@latest
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
automatic_release_tag: dev
prerelease: true
title: Latest
files: build/*
DockerHub:
name: Publish dev build to DockerHub
needs: Build
runs-on: ubuntu-latest
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build & Publish dev on DockerHub
uses: docker/build-push-action@v5
with:
push: true
tags: inrix/floatplane-downloader:dev
cache-from: type=gha
cache-to: type=gha,mode=max