mirror of
https://github.com/bjdgyc/anylink.git
synced 2025-08-08 12:24:30 +08:00
优化编译脚本
This commit is contained in:
4
.github/FUNDING.yml
vendored
4
.github/FUNDING.yml
vendored
@@ -1,6 +1,6 @@
|
||||
# These are supported funding model platforms
|
||||
|
||||
github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
|
||||
github: [ 'bjdgyc' ] # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
|
||||
patreon: # Replace with a single Patreon username
|
||||
open_collective: # Replace with a single Open Collective username
|
||||
ko_fi: # Replace with a single Ko-fi username
|
||||
@@ -10,4 +10,4 @@ liberapay: # Replace with a single Liberapay username
|
||||
issuehunt: # Replace with a single IssueHunt username
|
||||
otechie: # Replace with a single Otechie username
|
||||
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
|
||||
custom: ['https://github.com/bjdgyc/anylink/blob/main/doc/README.md'] # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
|
||||
custom: [ 'https://github.com/bjdgyc/anylink/blob/main/doc/README.md' ] # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
|
||||
|
7
.github/workflows/codeql-analysis.yml
vendored
7
.github/workflows/codeql-analysis.yml
vendored
@@ -13,13 +13,14 @@ name: "CodeQL"
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
schedule:
|
||||
- cron: '32 5 * * 1'
|
||||
# push:
|
||||
# branches: [ "main", "dev" ]
|
||||
# pull_request:
|
||||
# branches: [ "main", "dev" ]
|
||||
# schedule:
|
||||
# - cron: '32 12 * * 5'
|
||||
|
||||
|
||||
|
||||
jobs:
|
||||
analyze:
|
||||
|
8
.github/workflows/go.yml
vendored
8
.github/workflows/go.yml
vendored
@@ -3,10 +3,10 @@ name: Go
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
# push:
|
||||
# branches: [ "main", "dev" ]
|
||||
# pull_request:
|
||||
# branches: [ "main", "dev" ]
|
||||
push:
|
||||
branches: [ "main", "dev" ]
|
||||
pull_request:
|
||||
branches: [ "main", "dev" ]
|
||||
|
||||
jobs:
|
||||
|
||||
|
7
.github/workflows/release.yml
vendored
7
.github/workflows/release.yml
vendored
@@ -5,6 +5,7 @@ on:
|
||||
push:
|
||||
tags:
|
||||
- "v0.*"
|
||||
- "v1.*"
|
||||
|
||||
jobs:
|
||||
Build:
|
||||
@@ -46,7 +47,7 @@ jobs:
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
logout: true
|
||||
|
||||
- name: pre bash
|
||||
- name: Pre bash
|
||||
shell: bash
|
||||
run: |
|
||||
appVer=`cat version`
|
||||
@@ -65,8 +66,8 @@ jobs:
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
push: true
|
||||
#cache-from: type=gha,scope=anylink
|
||||
#cache-to: type=gha,mode=max,scope=anylink
|
||||
cache-from: type=gha,scope=anylink
|
||||
cache-to: type=gha,mode=max,scope=anylink
|
||||
context: .
|
||||
file: ./docker/Dockerfile
|
||||
platforms: linux/amd64,linux/arm64,linux/arm/v7
|
||||
|
Reference in New Issue
Block a user