go 1.20
parent
3c2a405133
commit
563d14248c
|
@ -9,7 +9,7 @@ jobs:
|
||||||
- checkout
|
- checkout
|
||||||
|
|
||||||
- run: |
|
- run: |
|
||||||
docker run -it --rm -v "$PWD":/work -w /work golang:1.19-bullseye bash -c 'CGO_ENABLED=0 go build -ldflags="-s -w"'
|
docker run -it --rm -v "$PWD":/work -w /work golang:1.20-bullseye bash -c 'CGO_ENABLED=0 go build -ldflags="-s -w"'
|
||||||
sudo mv go-vod go-vod-aarch64
|
sudo mv go-vod go-vod-aarch64
|
||||||
|
|
||||||
- persist_to_workspace:
|
- persist_to_workspace:
|
||||||
|
|
|
@ -3,7 +3,7 @@ name: amd64
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- '*'
|
- "*"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-amd64:
|
build-amd64:
|
||||||
|
@ -11,7 +11,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
container:
|
container:
|
||||||
image: golang:1.19-bullseye
|
image: golang:1.20-bullseye
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
|
@ -27,4 +27,4 @@ jobs:
|
||||||
file: go-vod
|
file: go-vod
|
||||||
asset_name: go-vod-amd64
|
asset_name: go-vod-amd64
|
||||||
tag: ${{ github.ref }}
|
tag: ${{ github.ref }}
|
||||||
overwrite: true
|
overwrite: true
|
||||||
|
|
Loading…
Reference in New Issue