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:
zzjin
2022-09-04 23:29:14 +08:00
committed by GitHub
parent ea903b3181
commit f8fd39ae65
3 changed files with 12 additions and 12 deletions
+10 -10
View File
@@ -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 ^^
+1 -1
View File
@@ -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; \
+1 -1
View File
@@ -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