Forgotten Bump (#108)
* Forgotten Bump * Changing Workflow Job * 🔧 Fix automation due to label changes Signed-off-by: Luke Tainton <luke@tainton.uk> Co-authored-by: Luke Tainton <luke@tainton.uk>
This commit was merged in pull request #108.
This commit is contained in:
2
.github/ISSUE_TEMPLATE/bug_report.md
vendored
2
.github/ISSUE_TEMPLATE/bug_report.md
vendored
@@ -2,7 +2,7 @@
|
|||||||
name: Bug report
|
name: Bug report
|
||||||
about: Create a report to help us improve
|
about: Create a report to help us improve
|
||||||
title: '🐛'
|
title: '🐛'
|
||||||
labels: type/bug
|
labels: type:bug
|
||||||
assignees:
|
assignees:
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|||||||
2
.github/ISSUE_TEMPLATE/document_issue.md
vendored
2
.github/ISSUE_TEMPLATE/document_issue.md
vendored
@@ -2,7 +2,7 @@
|
|||||||
name: Document request
|
name: Document request
|
||||||
about: Request a change to documentation
|
about: Request a change to documentation
|
||||||
title: '📚'
|
title: '📚'
|
||||||
labels: type/docs
|
labels: type:docs
|
||||||
assignees:
|
assignees:
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|||||||
2
.github/ISSUE_TEMPLATE/feature_request.md
vendored
2
.github/ISSUE_TEMPLATE/feature_request.md
vendored
@@ -2,7 +2,7 @@
|
|||||||
name: Feature request
|
name: Feature request
|
||||||
about: Suggest an idea for this project
|
about: Suggest an idea for this project
|
||||||
title: '✨'
|
title: '✨'
|
||||||
labels: type/feature
|
labels: type:feature
|
||||||
assignees:
|
assignees:
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|||||||
20
.github/issue-branch.yml
vendored
20
.github/issue-branch.yml
vendored
@@ -2,14 +2,14 @@ mode: auto
|
|||||||
silent: false
|
silent: false
|
||||||
branchName: '${issue.number}'
|
branchName: '${issue.number}'
|
||||||
branches:
|
branches:
|
||||||
- label: type/feature
|
- label: type:feature
|
||||||
prefix: feat/
|
prefix: feat-
|
||||||
- label: type/bug
|
- label: type:bug
|
||||||
prefix: bug/
|
prefix: bug-
|
||||||
- label: type/epic
|
- label: type:epic
|
||||||
prefix: epic/
|
prefix: epic-
|
||||||
- label: type/docs
|
- label: type:docs
|
||||||
prefix: docs/
|
prefix: docs-
|
||||||
- label: type/automation
|
- label: type:automation
|
||||||
prefix: auto/
|
prefix: auto-
|
||||||
autoCloseIssue: true
|
autoCloseIssue: true
|
||||||
|
|||||||
2
.github/workflows/autobranch.yml
vendored
2
.github/workflows/autobranch.yml
vendored
@@ -3,8 +3,6 @@ name: Auto-create branches
|
|||||||
on:
|
on:
|
||||||
issues:
|
issues:
|
||||||
types: [assigned]
|
types: [assigned]
|
||||||
issue_comment:
|
|
||||||
types: [created]
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
create_issue_branch_job:
|
create_issue_branch_job:
|
||||||
|
|||||||
40
.github/workflows/deploy.yml
vendored
40
.github/workflows/deploy.yml
vendored
@@ -4,28 +4,26 @@ on:
|
|||||||
branches: main
|
branches: main
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
bump-version:
|
release-on-push:
|
||||||
name: Bump version number
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
outputs:
|
outputs:
|
||||||
ver: ${{ steps.ver.outputs.version }}
|
ver: ${{ steps.release.outputs.version }}
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
steps:
|
steps:
|
||||||
- id: bump
|
- id: release
|
||||||
uses: zwaldowski/match-label-action@v1
|
uses: rymndhng/release-on-push-action@master
|
||||||
with:
|
with:
|
||||||
allowed: >
|
bump_version_scheme: minor
|
||||||
major
|
|
||||||
minor
|
- name: Check Output Parameters
|
||||||
patch
|
run: |
|
||||||
- id: ver
|
echo "Got tag name ${{ steps.release.outputs.tag_name }}"
|
||||||
uses: zwaldowski/semver-release-action@v1
|
echo "Got release version ${{ steps.release.outputs.version }}"
|
||||||
with:
|
|
||||||
bump: ${{ steps.bump.outputs.match }}
|
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
|
|
||||||
docker-dh:
|
docker-dh:
|
||||||
name: Push to Docker Hub
|
name: Push to Docker Hub
|
||||||
needs: [bump-version]
|
needs: [release-on-push]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
@@ -33,18 +31,18 @@ jobs:
|
|||||||
run: echo ${{ secrets.DOCKERHUB_PASSWORD }} | docker login -u ${{ secrets.DOCKERHUB_USERNAME }} --password-stdin
|
run: echo ${{ secrets.DOCKERHUB_PASSWORD }} | docker login -u ${{ secrets.DOCKERHUB_USERNAME }} --password-stdin
|
||||||
- name: Build image for Docker Hub
|
- name: Build image for Docker Hub
|
||||||
env:
|
env:
|
||||||
VERSION: ${{ needs.bump-version.output.ver }}
|
VERSION: ${{ needs.release-on-push.output.ver }}
|
||||||
run: docker build . --file Dockerfile --tag luketainton/fhed:$VERSION luketainton/fhed:latest
|
run: docker build . --file Dockerfile --tag luketainton/fhed:$VERSION luketainton/fhed:latest
|
||||||
- name: Push image to Docker Hub
|
- name: Push image to Docker Hub
|
||||||
env:
|
env:
|
||||||
VERSION: ${{ needs.bump-version.output.ver }}
|
VERSION: ${{ needs.release-on-push.output.ver }}
|
||||||
run: |
|
run: |
|
||||||
docker push luketainton/fhed:$VERSION &&
|
docker push luketainton/fhed:$VERSION &&
|
||||||
docker push luketainton/fhed:latest
|
docker push luketainton/fhed:latest
|
||||||
|
|
||||||
docker-ghr:
|
docker-ghr:
|
||||||
name: Push to GitHub Package Registry
|
name: Push to GitHub Package Registry
|
||||||
needs: [bump-version]
|
needs: [release-on-push]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
@@ -52,11 +50,11 @@ jobs:
|
|||||||
run: echo ${{ secrets.GITHUB_TOKEN }} | docker login https://docker.pkg.github.com -u luketainton --password-stdin
|
run: echo ${{ secrets.GITHUB_TOKEN }} | docker login https://docker.pkg.github.com -u luketainton --password-stdin
|
||||||
- name: Build image for GitHub Package Registry
|
- name: Build image for GitHub Package Registry
|
||||||
env:
|
env:
|
||||||
VERSION: ${{ needs.bump-version.output.ver }}
|
VERSION: ${{ needs.release-on-push.output.ver }}
|
||||||
run: docker build . --file Dockerfile --tag docker.pkg.github.com/luketainton/fhed/fhed:latest docker.pkg.github.com/luketainton/fhed/fhed:$VERSION
|
run: docker build . --file Dockerfile --tag docker.pkg.github.com/luketainton/fhed/fhed:latest docker.pkg.github.com/luketainton/fhed/fhed:$VERSION
|
||||||
- name: Push image to GitHub Package Registry
|
- name: Push image to GitHub Package Registry
|
||||||
env:
|
env:
|
||||||
VERSION: ${{ needs.bump-version.output.ver }}
|
VERSION: ${{ needs.release-on-push.output.ver }}
|
||||||
run: |
|
run: |
|
||||||
docker push docker.pkg.github.com/luketainton/fhed/fhed:$VERSION &&
|
docker push docker.pkg.github.com/luketainton/fhed/fhed:$VERSION &&
|
||||||
docker push docker.pkg.github.com/luketainton/fhed/fhed:latest
|
docker push docker.pkg.github.com/luketainton/fhed/fhed:latest
|
||||||
|
|||||||
4
.github/workflows/stale.yml
vendored
4
.github/workflows/stale.yml
vendored
@@ -15,5 +15,5 @@ jobs:
|
|||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
stale-issue-message: 'This issue has been marked as stale due to inactivity. If this issue is still ongoing, please leave a comment.'
|
stale-issue-message: 'This issue has been marked as stale due to inactivity. If this issue is still ongoing, please leave a comment.'
|
||||||
stale-pr-message: 'This pull request has been marked as stale due to inactivity. If this issue is still ongoing, please leave a comment.'
|
stale-pr-message: 'This pull request has been marked as stale due to inactivity. If this issue is still ongoing, please leave a comment.'
|
||||||
stale-issue-label: 'status/stale'
|
stale-issue-label: 'status:stale'
|
||||||
stale-pr-label: 'status/stale'
|
stale-pr-label: 'status:stale'
|
||||||
|
|||||||
Reference in New Issue
Block a user