Skip to content

build(deps): bump golang.org/x/sys from 0.47.0 to 0.48.0 #7

build(deps): bump golang.org/x/sys from 0.47.0 to 0.48.0

build(deps): bump golang.org/x/sys from 0.47.0 to 0.48.0 #7

Workflow file for this run

name: 'Docker 镜像构建'
on:
workflow_dispatch:
pull_request:
push:
branches:
- main
tags:
- 'v*'
permissions:
contents: read
jobs:
docker-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: 'Go 鍗曞厓娴嬭瘯'
uses: actions/setup-go@v5
with:
go-version: '1.25'
- name: '杩愯娴嬭瘯'
run: go test ./...
- name: '静态检查 go vet'
run: go vet ./...
- name: '构建 Docker 镜像'
run: |
docker build -t simple-web-shell .
- name: '导出并上传镜像工件'
run: |
docker save simple-web-shell | gzip > simple-web-shell-image.tar.gz
- uses: actions/upload-artifact@v4
with:
name: 'simple-web-shell-docker-image-${{ github.ref_name }}'
path: 'simple-web-shell-image.tar.gz'
if-no-files-found: 'warn'
retention-days: 14