Skip to content

Commit

Permalink
Merge pull request #6 from GiganticMinecraft/ci/fix-release-ci-trigger
Browse files Browse the repository at this point in the history
ci(fix): CIのトリガーを修正
  • Loading branch information
m1sk9 authored Oct 14, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
2 parents 4b44605 + 8b64397 commit 6422c3b
Showing 2 changed files with 3 additions and 15 deletions.
9 changes: 0 additions & 9 deletions .github/actions/publish/action.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
name: Publish
description: Publish the Docker package
inputs:
tag:
description: Tag name
required: true
sha:
description: Git SHA
required: true

runs:
using: composite
@@ -29,5 +22,3 @@ runs:
push: true
tags: |
ghcr.io/giganticminecraft/idea_reaction:latest
ghcr.io/giganticminecraft/idea_reaction:${{ inputs.sha }}
ghcr.io/giganticminecraft/idea_reaction:v${{ inputs.tag }}
9 changes: 3 additions & 6 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -2,11 +2,11 @@ name: Release idea-reaction-token

on:
push:
tag:
- 'v*.*.*'
branches:
- main

jobs:
release-please:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
@@ -16,6 +16,3 @@ jobs:

- name: Publish the Docker package
uses: ./.github/actions/publish
with:
tag: ${{ steps.release.outputs.tag }}
sha: ${{ steps.release.outputs.sha }}

0 comments on commit 6422c3b

Please sign in to comment.