Skip to content

Commit

Permalink
Update Docker container image upload actions with short sha and rente…
Browse files Browse the repository at this point in the history
…ntion day
  • Loading branch information
OneLiberty committed Oct 17, 2024
1 parent 2254be7 commit 58a3a48
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/docker-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
packages: write
outputs:
image_tag: ${{ steps.meta.outputs.tags }}
short_sha: ${{ github.sha }}
#
steps:
- name: Checkout repository
Expand Down Expand Up @@ -81,21 +82,23 @@ jobs:
with:
name: Moonlight.wgt
path: Moonlight.wgt
retention-days: 0

- name: Upload artifact MoonlightUSB.zip
uses: actions/upload-artifact@v4
with:
name: MoonlightUSB.zip
path: MoonlightUSB.zip
retention-days: 0

- name: Create GitHub Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.sha }}
release_name: "Pre-release ${{ github.sha }}"
tag_name: ${{ github.ref_name }}-${{ needs.build-and-push-image.outputs.short_sha }}
release_name: "Pre-release ${{ github.ref_name }}-${{ needs.build-and-push-image.outputs.short_sha }}"
draft: false
prerelease: true

Expand Down

0 comments on commit 58a3a48

Please sign in to comment.