diff --git a/.github/actions/publish/action.yml b/.github/actions/publish/action.yml index ba9b25f..edd506d 100644 --- a/.github/actions/publish/action.yml +++ b/.github/actions/publish/action.yml @@ -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 }} diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 37b0ac1..fe6234a 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -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 }}