Skip to content

Commit

Permalink
Add release package after build
Browse files Browse the repository at this point in the history
  • Loading branch information
quangnhnhut123 committed Sep 27, 2024
1 parent cde70f4 commit 2264f78
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/build_push_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,14 @@ jobs:
NOTO_COLOR_EMOJI_VERSION=v2.042
PDFTK_VERSION=v3.3.3
GOLANGCI_LINT_VERSION=v1.60.3
- name: Update latest release with Docker image details
env:
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
run: |
release_body="### ${{ secrets.DOCKER_REGISTRY }}/${{ secrets.DOCKER_REPOSITORY }} image
\`\`\`shell
${{ secrets.DOCKER_REGISTRY }}/${{ secrets.DOCKER_REPOSITORY }}:v8-latest
${{ secrets.DOCKER_REGISTRY }}/${{ secrets.DOCKER_REPOSITORY }}:v8-${{ github.sha }}
\`\`\`"
gh release create v${{ github.run_number }} --notes "$release_body"

0 comments on commit 2264f78

Please sign in to comment.