chore: release v1.4.38 #160
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Publish Docker image for release | |
| on: | |
| push: | |
| tags: | |
| - "*.*.*" | |
| - "!*-*" | |
| permissions: | |
| contents: read | |
| packages: write | |
| jobs: | |
| docker_publish: | |
| uses: ./.github/workflows/docker.yml | |
| with: | |
| add_latest: true | |
| secrets: | |
| DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME_2 }} | |
| DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD_2 }} | |
| publish_release: | |
| needs: docker_publish | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Publish GitHub Release | |
| env: | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| run: | | |
| gh release edit v${{ github.ref_name }} --draft=false | |
| discord_notification: | |
| needs: docker_publish | |
| uses: ./.github/workflows/discord.yml | |
| with: | |
| discord_title: "New Release: v${{ github.ref_name }}" | |
| discord_color: 3066993 | |
| discord_footer: "Portabase" | |
| secrets: | |
| DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }} | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |