mirror of
https://github.com/labring/sealos.git
synced 2026-09-24 15:46:19 +08:00
fix(dependencies): replace gcc-aarch64-linux-gnu with binutils-aarch6… (#6766) * fix(dependencies): replace gcc-aarch64-linux-gnu with binutils-aarch64-linux-gnu in Dockerfile and YAML files * fix(ci): update runs-on configuration for arm64 architecture in CI scripts * fix(ci): update runs-on configuration for arm64 architecture in CI scripts --------- Signed-off-by: cuisongliu <cuisongliu@qq.com> Co-authored-by: cuisongliu <cuisongliu@qq.com>
65 lines
1.6 KiB
YAML
65 lines
1.6 KiB
YAML
name: Release
|
|
|
|
env:
|
|
# Common versions
|
|
GO_VERSION: "1.25"
|
|
DEFAULT_OWNER: "labring"
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
tags:
|
|
- "*"
|
|
|
|
jobs:
|
|
releaser:
|
|
runs-on: ubuntu-22.04
|
|
permissions:
|
|
contents: write
|
|
packages: write
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Setup Golang with cache
|
|
uses: magnetikonline/action-golang-cache@v5
|
|
with:
|
|
go-version: ${{ env.GO_VERSION }}
|
|
|
|
- name: Install Dependencies
|
|
run: |
|
|
sudo apt update && sudo apt install -y gcc-aarch64-linux-gnu binutils-aarch64-linux-gnu \
|
|
libbtrfs-dev libgpgme-dev libdevmapper-dev \
|
|
qemu-user-static binfmt-support
|
|
|
|
- name: Login to GitHub Container Registry
|
|
uses: docker/login-action@v3
|
|
with:
|
|
registry: ghcr.io
|
|
username: ${{ github.repository_owner }}
|
|
password: ${{ secrets.GHCR_TOKEN || secrets.GITHUB_TOKEN }}
|
|
|
|
- name: Run GoReleaser
|
|
uses: goreleaser/goreleaser-action@v6
|
|
with:
|
|
args: release --clean --release-notes=../CHANGELOG/CHANGELOG-latest.md
|
|
workdir: ./lifecycle
|
|
env:
|
|
USERNAME: ${{ github.repository_owner }}
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
FURY_TOKEN: ${{ secrets.FURY_TOKEN }}
|
|
|
|
cloud-release:
|
|
uses: ./.github/workflows/cloud-release.yml
|
|
needs:
|
|
- releaser
|
|
permissions:
|
|
contents: write
|
|
packages: write
|
|
actions: write
|
|
secrets: inherit
|
|
with:
|
|
tag: ${{ github.ref_name }}
|
|
build_offline_tar_only: false |