Skip to content

Commit e334e8d

Browse files
authored
Renaming project builds and including new Icons (#318)
Added MacOS icons, plist, and cask template file Adjusted goreleaser with the new name for all builds Added Icon and update windows-ui build to include it and avoid console migrated Docker builds to new namespace netbirdio
1 parent 3eb230e commit e334e8d

14 files changed

+214
-122
lines changed

.github/workflows/release.yml

Lines changed: 30 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
- main
99
pull_request:
1010

11+
env:
12+
SIGN_PIPE_VER: main
13+
1114
jobs:
1215
release:
1316
runs-on: ubuntu-latest
@@ -48,10 +51,18 @@ jobs:
4851
if: github.event_name != 'pull_request'
4952
uses: docker/login-action@v1
5053
with:
51-
username: ${{ secrets.DOCKER_USER }}
54+
username: netbirdio
5255
password: ${{ secrets.DOCKER_TOKEN }}
56+
5357
- name: Install dependencies
5458
run: sudo apt update && sudo apt install -y -q libgtk-3-dev libappindicator3-dev libayatana-appindicator3-dev libgl1-mesa-dev xorg-dev gcc-mingw-w64-x86-64
59+
60+
- name: Install rsrc
61+
run: go install github.com/akavel/[email protected]
62+
63+
- name: Generate windows rsrc
64+
run: rsrc -arch amd64 -ico client/ui/netbird.ico -manifest client/ui/manifest.xml -o client/ui/resources_windows_amd64.syso
65+
5566
-
5667
name: Run GoReleaser
5768
uses: goreleaser/goreleaser-action@v2
@@ -63,18 +74,17 @@ jobs:
6374
HOMEBREW_TAP_GITHUB_TOKEN: ${{ secrets.HOMEBREW_TAP_GITHUB_TOKEN }}
6475
UPLOAD_DEBIAN_SECRET: ${{ secrets.PKG_UPLOAD_SECRET }}
6576
UPLOAD_YUM_SECRET: ${{ secrets.PKG_UPLOAD_SECRET }}
66-
6777
-
6878
name: Trigger Windows binaries sign pipeline
6979
uses: benc-uk/workflow-dispatch@v1
7080
if: startsWith(github.ref, 'refs/tags/')
7181
with:
7282
workflow: Sign windows bin and installer
73-
repo: wiretrustee/windows-sign-pipeline
74-
ref: v0.0.2
83+
repo: netbirdio/sign-pipelines
84+
ref: ${{ env.SIGN_PIPE_VER }}
7585
token: ${{ secrets.SIGN_GITHUB_TOKEN }}
7686
inputs: '{ "tag": "${{ github.ref }}" }'
77-
-
87+
-
7888
name: upload non tags for debug purposes
7989
uses: actions/upload-artifact@v2
8090
with:
@@ -108,19 +118,29 @@ jobs:
108118
run: go mod tidy
109119
-
110120
name: Run GoReleaser
121+
id: goreleaser
111122
uses: goreleaser/goreleaser-action@v2
112123
with:
113124
version: v1.6.3
114125
args: release --config .goreleaser_ui_darwin.yaml --rm-dist
115126
env:
116127
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
117-
HOMEBREW_TAP_GITHUB_TOKEN: ${{ secrets.HOMEBREW_TAP_GITHUB_TOKEN }}
118-
UPLOAD_DEBIAN_SECRET: ${{ secrets.PKG_UPLOAD_SECRET }}
119-
UPLOAD_YUM_SECRET: ${{ secrets.PKG_UPLOAD_SECRET }}
120-
-
128+
129+
-
130+
name: Trigger Darwin App binaries sign pipeline
131+
uses: benc-uk/workflow-dispatch@v1
132+
if: startsWith(github.ref, 'refs/tags/')
133+
with:
134+
workflow: Sign darwin ui app
135+
repo: netbirdio/sign-pipelines
136+
ref: ${{ env.SIGN_PIPE_VER }}
137+
token: ${{ secrets.SIGN_GITHUB_TOKEN }}
138+
inputs: '{ "tag": "${{ github.ref }}" }'
139+
140+
-
121141
name: upload non tags for debug purposes
122142
uses: actions/upload-artifact@v2
123143
with:
124144
name: build-ui-darwin
125145
path: dist/
126-
retention-days: 3
146+
retention-days: 3

0 commit comments

Comments
 (0)