Merge pull request #7 from voko/feature/add-git-tags

Feature/add git tags
This commit is contained in:
Volker Kopetzky
2025-12-26 23:05:23 +01:00
committed by GitHub
3 changed files with 22 additions and 2 deletions
+20
View File
@@ -13,6 +13,26 @@ env:
IMAGE_NAME: ${{ github.repository }}
jobs:
tag-release:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
needs: build-and-push-image
permissions:
contents: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Read version from file
id: version
run: echo "TAG=$(cat VERSION)" >> $GITHUB_OUTPUT
- name: Create and push Git tag
run: |
git config user.name "${{ github.actor }}"
git config user.email "${{ github.actor }}@users.noreply.github.com"
git tag -a "${{ steps.version.outputs.TAG }}" -m "Release ${{ steps.version.outputs.TAG }}"
git push origin "${{ steps.version.outputs.TAG }}"
build-and-push-image:
runs-on: ubuntu-latest
permissions:
+1 -1
View File
@@ -45,7 +45,7 @@ This is a local container running with data stored in ./local/testdata
-p 8080:8080 -e LOG_LEVEL=debug --rm --name mbz-rss\
-v ./local/testdata/:/var/mbz-rss-feeder \
--env-file ./local/testdata/.env \
docker.io/library/mzb-rss-feeder:1.0.0`
docker.io/library/mzb-rss-feeder:latest`
After startup the server can be accessed through http://docker-host:8080.
+1 -1
View File
@@ -1 +1 @@
1.0.5
1.0.6