Skip to content

尽量小写

尽量小写 #3

Workflow file for this run

# .github/workflows/release.yml
name: tar_releaser
on:
pull_request:
push:
# run only against tags
tags:
- "tar*"
# branches: [ "master" ]
permissions:
contents: write
# packages: write
# issues: write
jobs:
dockerbuilder:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: go
run: go build -o srt main.go
- name: pwd
run: pwd
- name: build
run: docker build -t convertimage:latest ${{ github.workspace }}
- name: saveSpace
run: rm -rf /opt/hostedtoolcache
- name: export
run: docker save convertimage:latest -o ConvertImage.tar
- name: Upload
uses: actions/upload-artifact@v4
with:
path: ${{ github.workspace }}/ConvertImage.tar
compression-level: 9 # max compression