fix pipeline
This commit is contained in:
@@ -23,6 +23,9 @@ on:
|
|||||||
tags: ["v*"]
|
tags: ["v*"]
|
||||||
pull_request:
|
pull_request:
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
env:
|
env:
|
||||||
GO_VERSION: "1.26"
|
GO_VERSION: "1.26"
|
||||||
ANDROID_IMAGE: cimg/android:2024.01-node
|
ANDROID_IMAGE: cimg/android:2024.01-node
|
||||||
@@ -41,6 +44,8 @@ jobs:
|
|||||||
run: apk add --no-cache nodejs git
|
run: apk add --no-cache nodejs git
|
||||||
|
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.GITEA_TOKEN }}
|
||||||
|
|
||||||
- uses: actions/cache@v4
|
- uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
@@ -63,6 +68,8 @@ jobs:
|
|||||||
container: ${{ env.ANDROID_IMAGE }}
|
container: ${{ env.ANDROID_IMAGE }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.GITEA_TOKEN }}
|
||||||
- uses: actions/cache@v4
|
- uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
@@ -89,6 +96,8 @@ jobs:
|
|||||||
run: apk add --no-cache nodejs git
|
run: apk add --no-cache nodejs git
|
||||||
|
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.GITEA_TOKEN }}
|
||||||
- uses: actions/cache@v4
|
- uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
@@ -107,6 +116,8 @@ jobs:
|
|||||||
container: ${{ env.ANDROID_IMAGE }}
|
container: ${{ env.ANDROID_IMAGE }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.GITEA_TOKEN }}
|
||||||
- uses: actions/cache@v4
|
- uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
@@ -127,6 +138,8 @@ jobs:
|
|||||||
run: apk add --no-cache nodejs git
|
run: apk add --no-cache nodejs git
|
||||||
|
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.GITEA_TOKEN }}
|
||||||
- run: |
|
- run: |
|
||||||
export VERSION="$(cat VERSION)"
|
export VERSION="$(cat VERSION)"
|
||||||
CGO_ENABLED=0 GOOS=linux go build \
|
CGO_ENABLED=0 GOOS=linux go build \
|
||||||
@@ -162,6 +175,8 @@ jobs:
|
|||||||
run: apk add --no-cache nodejs git
|
run: apk add --no-cache nodejs git
|
||||||
|
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.GITEA_TOKEN }}
|
||||||
|
|
||||||
- name: Login registre Gitea
|
- name: Login registre Gitea
|
||||||
env:
|
env:
|
||||||
|
|||||||
@@ -18,6 +18,9 @@ on:
|
|||||||
push:
|
push:
|
||||||
tags: ["v*"]
|
tags: ["v*"]
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
env:
|
env:
|
||||||
ANDROID_IMAGE: cimg/android:2024.01-node
|
ANDROID_IMAGE: cimg/android:2024.01-node
|
||||||
DOCKERHUB_IMAGE: docker.io/thirdshop/kasier
|
DOCKERHUB_IMAGE: docker.io/thirdshop/kasier
|
||||||
@@ -30,6 +33,8 @@ jobs:
|
|||||||
container: ${{ env.ANDROID_IMAGE }}
|
container: ${{ env.ANDROID_IMAGE }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.GITEA_TOKEN }}
|
||||||
- uses: actions/cache@v4
|
- uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
@@ -94,6 +99,8 @@ jobs:
|
|||||||
run: apk add --no-cache nodejs git
|
run: apk add --no-cache nodejs git
|
||||||
|
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.GITEA_TOKEN }}
|
||||||
|
|
||||||
- name: Login registre Gitea
|
- name: Login registre Gitea
|
||||||
env:
|
env:
|
||||||
|
|||||||
Reference in New Issue
Block a user