Skip to content

Commit 90f16cc

Browse files
committed
fix: fix ci
1 parent ac73cf3 commit 90f16cc

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/build-dev.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,17 @@ concurrency:
1515

1616
jobs:
1717
build:
18-
runs-on: ubuntu-latest
18+
runs-on: ubuntu-latest
1919
container:
2020
image: ghcr.io/socoldkiller/headscale-build:dev
2121
credentials:
2222
username: ${{ github.actor }}
2323
password: ${{secrets.GITHUB_TOKEN}}
2424
steps:
2525
- uses: actions/checkout@v4
26+
with:
27+
set-safe-directory: true
28+
2629
- name: Build frontend
2730
run: |
2831
git clone https://github.com/socoldkiller/headscale-ui.git
@@ -35,9 +38,8 @@ jobs:
3538
3639
- name: Build binary
3740
run: |
38-
git --no-pager log --oneline -10
3941
go build -ldflags="-s -w" -o headscale ./cmd/headscale
40-
42+
4143
- name: Login to GHCR
4244
uses: docker/login-action@v3
4345
with:

0 commit comments

Comments
 (0)