Skip to content

Commit

Permalink
ci: update release assets, fix #23
Browse files Browse the repository at this point in the history
  • Loading branch information
kmahyyg committed May 2, 2023
1 parent 0630723 commit 22ee73c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/docker4commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ jobs:
uses: actions/upload-artifact@v3
with:
retention-days: 30
name: ztncui-aio-${{ env.platform-tag }}-${{ github.sha }}
name: ztncui-aio-${{ env.platform-tag }}-${{ github.sha }}.tar
path: /tmp/build/out/ztncui-aio-${{ env.platform-tag }}.tar
- name: Move cache
run: |
Expand Down Expand Up @@ -122,7 +122,6 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build Docker image
if: ${{ !startsWith(github.ref, 'refs/tags/v') }}
uses: docker/build-push-action@v4
with:
context: .
Expand Down Expand Up @@ -155,10 +154,9 @@ jobs:
ghcr.io/${{ env.IMAGE_NAME }}:${{ github.ref_name }}-${{ env.platform-tag }}
- name: Archive generated artifacts
uses: actions/upload-artifact@v3
if: ${{ !startsWith(github.ref, 'refs/tags/v') }}
with:
retention-days: 30
name: ztncui-aio-${{ env.platform-tag }}-${{ github.sha }}
name: ztncui-aio-${{ env.platform-tag }}-${{ github.sha }}.tar
path: /tmp/build/out/ztncui-aio-${{ env.platform-tag }}.tar
- name: Move cache
run: |
Expand Down Expand Up @@ -200,6 +198,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
body: Regular update, check commit history for changelog.
tag_name: ${{ github.ref }}
release_name: ${{ github.ref_name }}
asset_files: /tmp/relbuild/${{ github.repository_owner }}

0 comments on commit 22ee73c

Please sign in to comment.