Skip to content

Commit

Permalink
ci: update gh actions
Browse files Browse the repository at this point in the history
  • Loading branch information
avakarev committed Oct 13, 2024
1 parent 035bf86 commit 55d994d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: ci

on:
push:
branches:
Expand All @@ -23,7 +24,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Lint & Test
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: release

on:
release:
types: [published]
Expand All @@ -20,8 +21,9 @@ jobs:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: docker/build-push-action@v5
- uses: docker/build-push-action@v6
with:
push: true
platforms: linux/amd64,linux/arm64
tags: |
${{ env.REGISTRY }}/${{ github.repository }}:${{ github.sha }}
Expand All @@ -30,4 +32,3 @@ jobs:
build-args: |
GITHUB_SHA=${{ github.sha }}
GITHUB_REF=${{ github.event.release.tag_name }}
push: true

0 comments on commit 55d994d

Please sign in to comment.