File tree Expand file tree Collapse file tree 3 files changed +22
-15
lines changed
Expand file tree Collapse file tree 3 files changed +22
-15
lines changed Original file line number Diff line number Diff line change 2929 working-directory : ./harbor
3030
3131 steps :
32+ - uses : extractions/setup-just@v3
3233 - uses : actions/checkout@v4
3334 with :
3435 submodules : true
4445 username : ${{ github.actor }}
4546 password : ${{ secrets.GITHUB_TOKEN }}
4647
47- - run : cd .. && make patch
48+ - run : cd .. && just patch
4849
4950 - id : prepare
5051 run : echo "tag=$(cat ../version)" >> $GITHUB_ENV
@@ -89,21 +90,22 @@ jobs:
8990 working-directory : ./harbor
9091
9192 steps :
93+ - uses : extractions/setup-just@v3
9294 - uses : actions/checkout@v4
9395 with :
9496 submodules : true
9597
9698 - uses : actions/setup-go@v3
9799 with :
98- go-version : ' ^1.20. x'
100+ go-version : ' ^1.x'
99101
100102 - uses : docker/setup-qemu-action@v3
101103 - uses : docker/setup-buildx-action@v3
102104 with :
103105 driver : docker-container
104106 driver-opts : network=host
105107
106- - run : cd .. && make patch
108+ - run : cd .. && just patch
107109
108110 - uses : docker/setup-buildx-action@v3
109111 with :
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ export VERSION := ` cat version `
2+
3+ all : dep patch
4+
5+ dep :
6+ git submodule update --init --recursive
7+ git submodule update --force --remote
8+ git submodule foreach -q --recursive ' git reset --hard && git checkout ${VERSION}'
9+
10+ [working-directory (' harbor' )]
11+ patch :
12+ curl " https://github.com/goharbor/harbor/compare/{{ VERSION }} ...morlay:patch-{{ VERSION }} .patch" | git apply -v
13+
14+ [working-directory (' harbor' )]
15+ reset :
16+ git add .
17+ git reset --hard
You can’t perform that action at this time.
0 commit comments