File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -35,12 +35,16 @@ jobs:
3535 runs-on : ubuntu-latest
3636 steps :
3737 - name : Checkout repositories
38- uses : bopen/ci-cd/setup-deploy@main
38+ uses : bopen/ci-cd/setup-deploy@v1
3939 with :
4040 repo : bopen/edh-catalogue-deploy
4141 deps-list : " bopen/edh-catalogue-api bopen/edh-catalogue-manager"
4242 deps-versions-file : bopen/edh-catalogue-deploy/environment.release
4343 git-pat : ${{ secrets.GIT_PAT }}
44+ - name : Copy git-clone-ref.py script
45+ uses : bopen/ci-cd/copy-git-clone-script@v1
46+ with :
47+ target-path : bopen
4448 - name : Harbor login
4549 uses : docker/login-action@v3
4650 with :
Original file line number Diff line number Diff line change @@ -10,14 +10,12 @@ ENV UV_COMPILE_BYTECODE=1 \
1010
1111WORKDIR /src
1212
13- # get git-clone-ref.py script
14- # FIXME: only download the script, not the whole repo
13+ # install git-clone-ref.py dependencies
1514RUN apt update && apt install -y git \
1615 && apt clean
1716
18- RUN git clone --depth 1 https://github.com/bopen/ci-cd.git /tmp/ci-cd \
19- && mv /tmp/ci-cd/git-clone/git-clone-ref.py /tmp \
20- && rm -rf /tmp/ci-cd
17+ # get git-clone-ref.py script
18+ COPY ./git-clone-ref.py /tmp/git-clone-ref.py
2119
2220COPY edh-catalogue-api /src/bopen/edh-catalogue-api
2321COPY edh-catalogue-manager /src/bopen/edh-catalogue-manager
You can’t perform that action at this time.
0 commit comments