monorepo
Varun Patil 2023-02-24 00:29:50 -08:00
parent 3c2a405133
commit 563d14248c
2 changed files with 4 additions and 4 deletions

View File

@ -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:

View File

@ -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