init222
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 1m18s
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 1m18s
This commit is contained in:
parent
0628908113
commit
2e85e60719
@ -7,7 +7,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: 克隆代码
|
- name: 克隆代码
|
||||||
uses: https://gitea.com/actions/checkout@v4
|
uses: https://git.pintantan.com/actions/checkout@v4
|
||||||
# 缓存 Maven 依赖
|
# 缓存 Maven 依赖
|
||||||
# - name: Cache Jdk download
|
# - name: Cache Jdk download
|
||||||
# uses: https://gitea.com/actions/cache@v3
|
# uses: https://gitea.com/actions/cache@v3
|
||||||
@ -21,7 +21,7 @@ jobs:
|
|||||||
# download_url="https://mirrors.tuna.tsinghua.edu.cn/Adoptium/17/jdk/x64/linux/OpenJDK17U-jdk_x64_linux_hotspot_17.0.14_7.tar.gz"
|
# download_url="https://mirrors.tuna.tsinghua.edu.cn/Adoptium/17/jdk/x64/linux/OpenJDK17U-jdk_x64_linux_hotspot_17.0.14_7.tar.gz"
|
||||||
# wget -O $RUNNER_TEMP/java_package.tar.gz $download_url
|
# wget -O $RUNNER_TEMP/java_package.tar.gz $download_url
|
||||||
|
|
||||||
- uses: https://gitea.com/actions/setup-node@v4
|
- uses: https://git.pintantan.com/actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
# Version Spec of the version to use in SemVer notation.
|
# Version Spec of the version to use in SemVer notation.
|
||||||
# It also admits such aliases as lts/*, latest, nightly and canary builds
|
# It also admits such aliases as lts/*, latest, nightly and canary builds
|
||||||
@ -37,14 +37,14 @@ jobs:
|
|||||||
run: npm run build
|
run: npm run build
|
||||||
|
|
||||||
- name: Login to Gitea Container Registry
|
- name: Login to Gitea Container Registry
|
||||||
uses: https://gitea.com/docker/login-action@v2
|
uses: https://git.pintantan.com/docker/login-action@v2
|
||||||
with:
|
with:
|
||||||
registry: git.pintantan.com
|
registry: git.pintantan.com
|
||||||
username: ${{ vars.DOCKER_USERNAME }}
|
username: ${{ vars.DOCKER_USERNAME }}
|
||||||
password: ${{ vars.DOCKER_PASSWORD }}
|
password: ${{ vars.DOCKER_PASSWORD }}
|
||||||
|
|
||||||
- name: Build and push Docker image
|
- name: Build and push Docker image
|
||||||
uses: https://gitea.com/docker/build-push-action@v4
|
uses: https://git.pintantan.com/docker/build-push-action@v4
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
push: true
|
push: true
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user