mirror of
https://github.com/labring/sealos.git
synced 2026-08-30 17:58:09 +08:00
update gorelease typo locaion (#1695)
* update buildx version Signed-off-by: zzjin <tczzjin@gmail.com> * update go release locaion Signed-off-by: zzjin <tczzjin@gmail.com> Signed-off-by: zzjin <tczzjin@gmail.com>
This commit is contained in:
@@ -44,9 +44,18 @@ jobs:
|
||||
sudo apt install -y gcc-aarch64-linux-gnu upx \
|
||||
libbtrfs-dev libgpgme-dev libdevmapper-dev
|
||||
|
||||
- name: Run GoReleaser
|
||||
uses: goreleaser/goreleaser-action@v3
|
||||
with:
|
||||
args: release --rm-dist --release-notes=scripts/release/Note.md
|
||||
env:
|
||||
USERNAME: ${{ github.repository_owner }}
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
FURY_TOKEN: ${{ secrets.FURY_TOKEN }}
|
||||
|
||||
- name: set up buildx
|
||||
id: buildx
|
||||
uses: crazy-max/ghaction-docker-buildx@v1
|
||||
uses: docker/setup-buildx-action@v2
|
||||
with:
|
||||
version: latest
|
||||
|
||||
@@ -57,15 +66,6 @@ jobs:
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.GH_TOKEN }}
|
||||
|
||||
- name: Run GoReleaser
|
||||
uses: goreleaser/goreleaser-action@v3
|
||||
with:
|
||||
args: release --rm-dist --release-notes=scripts/release/Note.md
|
||||
env:
|
||||
USERNAME: ${{ github.repository_owner }}
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
FURY_TOKEN: ${{ secrets.FURY_TOKEN }}
|
||||
|
||||
- name: build (and publish) lvscare image
|
||||
env:
|
||||
# fork friendly ^^
|
||||
|
||||
@@ -58,7 +58,7 @@ go.build.%:
|
||||
|
||||
@echo "===========> Building binary $(COMMAND) $(VERSION) for $(PLATFORM)"
|
||||
@mkdir -p $(BIN_DIR)/$(PLATFORM)
|
||||
|
||||
|
||||
@if [ "$(COMMAND)" == "sealos" ]; then \
|
||||
CGO_ENABLED=1; \
|
||||
CC=x86_64-linux-gnu-gcc; \
|
||||
|
||||
@@ -17,7 +17,7 @@ TEMPLATE := $(ROOT_DIR)/scripts/template/LICENSE
|
||||
.PHONY: license.verify
|
||||
license.verify: tools.verify.addlicense
|
||||
@echo "===========> Verifying the boilerplate headers for all files"
|
||||
@$(TOOLS_DIR)/addlicense -check -ignore **/test/** -f $(TEMPLATE) $(CODE_DIRS)
|
||||
@$(TOOLS_DIR)/addlicense -check -ignore **/test/** -f $(TEMPLATE) $(CODE_DIRS)
|
||||
|
||||
.PHONY: license.add
|
||||
license.add: tools.verify.addlicense
|
||||
|
||||
Reference in New Issue
Block a user