Website Summary Files Commits Branches @commit @diff @stats
path: root / .github / workflows
diff options
context:
space:
mode:
Commit772c600775ebd86a9fc8fc958b79a3e483ffc4f4 (patch)
Author
 Syndamia <kamen@syndamia.com>
2024-01-08 17:48:04 +0200
Committer
 Syndamia <kamen@syndamia.com>
2024-01-08 17:48:04 +0200
Files4fdebe64b3b18f3406665a2396d583d31e2a904b /.github/workflows
pico-web-772c600775ebd86a9fc8fc958b79a3e483ffc4f4.tar
pico-web-772c600775ebd86a9fc8fc958b79a3e483ffc4f4.tar.gz
pico-web-772c600775ebd86a9fc8fc958b79a3e483ffc4f4.zip
Parent8fe238dbfcdcd9de537c8aef360d3b6cfd2e0564 (diff)
[.github/main-branch] Added a github release step
1 files changed, 13 insertions, 2 deletions
-rw-r--r--.github/workflows/main-branch.yml15
diff --git a/.github/workflows/main-branch.yml b/.github/workflows/main-branch.yml
index d8584cb..dcd4c60 100644
--- a/.github/workflows/main-branch.yml
+++ b/.github/workflows/main-branch.yml
@@ -1,10 +1,10 @@
-name: Push image to dockerhub
+name: Create release and push production server image to dockerhub
on:
push:
branches:
- main
jobs:
- build-and-push:
+ Build-docker-and-push:
name: Build the docker container image and push it to dockerhub
runs-on: ubuntu-latest
steps:
@@ -18,3 +18,14 @@ jobs:
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/pico-web-server:latest
+ Release:
+ name: Make github release
+ runs-on: ubuntu-latest
+ needs: Build-docker-and-push
+ steps:
+ - uses: actions/checkout@v4
+ - uses: rymndhng/release-on-push-action@master
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ with:
+ bump_version_scheme: minor