Skip to content

Commit

Permalink
ci: use custom runner
Browse files Browse the repository at this point in the history
  • Loading branch information
TimPietrusky committed Feb 12, 2024
1 parent b6972f3 commit fea12e8
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ on:

jobs:
release:
runs-on: ubuntu-latest
runs-on: ubuntu-latest-m
if: ${{ !contains(github.event.head_commit.message, 'chore(release)') }}
permissions:
contents: write # to be able to publish a GitHub release
issues: write # to be able to comment on released issues
pull-requests: write # to be able to comment on released pull requests

steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down Expand Up @@ -55,7 +55,7 @@ jobs:
- name: Semantic release
uses: codfish/semantic-release-action@v3
id: semanticrelease
with:
with:
additional-packages: |
['@semantic-release/git', '@semantic-release/changelog']
env:
Expand All @@ -69,14 +69,11 @@ jobs:
tags: |
${{ secrets.DOCKERHUB_REPO }}/${{ secrets.DOCKERHUB_IMG }}:${{ steps.semanticrelease.outputs.release-version }}
${{ secrets.DOCKERHUB_REPO }}/${{ secrets.DOCKERHUB_IMG }}:latest
- name: Update description on Docker Hub
if: steps.semanticrelease.outputs.new-release-published == 'true'
uses: peter-evans/dockerhub-description@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
repository: ${{ secrets.DOCKERHUB_REPO }}/${{ secrets.DOCKERHUB_IMG }}



0 comments on commit fea12e8

Please sign in to comment.