Skip to content

Commit

Permalink
Add github ci actions to build binaries and docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
whites11 committed Jul 5, 2024
1 parent 07dbfe3 commit 3198f43
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/binary.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ jobs:
build:
name: build binary for ${{ matrix.os }}/${{ matrix.arch }}
runs-on: ubuntu-latest
permissions:
contents: write
strategy:
matrix:
arch: [ "amd64", "arm64" ]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
id: meta
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
with:
images: ghcr.io/${{ env.IMAGE_NAME }}:${{ env.GITHUB_REF }}
images: ghcr.io/${{ env.GITHUB_REPOSITORY }}:${{ env.GITHUB_REF }}

- name: Build and push Docker image
id: push
Expand Down

0 comments on commit 3198f43

Please sign in to comment.