Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions .github/workflows/release-on-tag.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Release On Tag

on:
push:
tags:
- 'v*'
workflow_dispatch:

permissions:
contents: read
id-token: write

jobs:
release:
runs-on: ubuntu-latest
env:
AWS_DEFAULT_REGION: ap-northeast-2

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '1.26.x'
cache: true

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: arn:aws:iam::${{ secrets.AWS_ACCOUNT_ID }}:role/gitaction
aws-region: ${{ env.AWS_DEFAULT_REGION }}

- name: Build and upload artifacts to S3
run: make release