Skip to content

Commit

Permalink
Update and rename docker-image.yml to push-artifacts.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
joshspicer authored Feb 26, 2023
1 parent ce9a0cc commit c3d09b0
Showing 1 changed file with 25 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Push GHCR Image
name: Push Artifacts

on:
push:
Expand All @@ -15,8 +15,31 @@ jobs:
- uses: rymndhng/release-on-push-action@master
with:
bump_version_scheme: minor

push-release-assets-matrix:
name: Release Go Binary
needs: [create-release]
runs-on: ubuntu-latest
strategy:
matrix:
goos: [linux, darwin]
goarch: ["386", amd64, arm64]
exclude:
- goarch: "386"
goos: darwin
steps:
- uses: actions/checkout@v3
- uses: wangyoucao577/go-release-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
goversion: "1.18"
project_path: "./server"
binary_name: "jarvis"
asset_name: jarvis-${{ matrix.goos }}-${{ matrix.goarch }}

push-image:
push-docker-image:
runs-on: ubuntu-latest
permissions:
packages: write
Expand Down

0 comments on commit c3d09b0

Please sign in to comment.