Skip to content

Commit

Permalink
Merge pull request #26 from approvers/feat/releases
Browse files Browse the repository at this point in the history
fix(ci/release): Assetの追加のジョブの移行、withの修正
  • Loading branch information
raiga0310 authored Sep 10, 2023
2 parents c04f851 + 2a3a035 commit 387fb6c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
push:
runs-on: ubuntu-latest
permissions:
contents: read
contents: write
packages: write
timeout-minutes: 60
steps:
Expand All @@ -32,3 +32,8 @@ jobs:
ghcr.io/${{ github.repository }}:${{ inputs.tag-name }}
cache-from: type=gha
cache-to: type=gha,mode=max
- name: add an Asset(compose.yml) to the Release
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release upload ${{ inputs.tag-name }} compose.yml --clobber
7 changes: 0 additions & 7 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,6 @@ jobs:
echo "release-created: ${{ steps.release-please-action.outputs.release_created }}"
echo "tag-name: ${{ steps.release-please-action.outputs.tag_name }}"
echo "version: ${{ steps.release-please-action.outputs.major }}.${{ steps.release-please-action.outputs.minor }}.${{ steps.release-please-action.outputs.patch }}"
- name: Upload compose.yml
if: ${{ steps.release-please-action.outputs.release_created }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release upload ${{ steps.release-please-action.outputs.tag_name }} compose.yml --clobber
release-package:
needs: release-please
if: ${{ needs.release-please.outputs.release-created }}
Expand Down

0 comments on commit 387fb6c

Please sign in to comment.