Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 29aafa5999 | |||
| 2c2fcb7091 |
@@ -12,11 +12,16 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
IMAGE_NAME: eryao-backend
|
IMAGE_NAME: eryao-backend
|
||||||
IMAGE_SIZE_LIMIT_BYTES: 500000000
|
IMAGE_SIZE_LIMIT_BYTES: 500000000
|
||||||
|
RUNNER_REPO_CACHE: /home/zl/Code/eryao
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
run: |
|
run: |
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
git clone --depth 1 --branch "${GITHUB_REF_NAME:-main}" "ssh://git@www.qzselfz.cloud:2222/${GITHUB_REPOSITORY}.git" .
|
git -C "${RUNNER_REPO_CACHE}" fetch --no-tags origin "${GITHUB_SHA}"
|
||||||
|
git init .
|
||||||
|
git remote add origin "${RUNNER_REPO_CACHE}/.git"
|
||||||
|
git fetch --no-tags --depth=1 origin "${GITHUB_SHA}"
|
||||||
|
git checkout --detach FETCH_HEAD
|
||||||
|
|
||||||
- name: Validate ECR configuration
|
- name: Validate ECR configuration
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user