Files
py-eagle-mqtt/.gitea/workflows/tag-release.yaml
Renovate Bot d8d0a9b3ce
All checks were successful
ci / docker (push) Successful in 32s
Bump version / create_release_tag (pull_request) Successful in 2m18s
chore(deps): update dependency actions/checkout to v5
2025-11-18 01:02:32 +00:00

61 lines
1.8 KiB
YAML

name: Bump version
on:
pull_request:
types:
- closed
branches:
- master
jobs:
create_release_tag:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v5.0.1
with:
ref: ${{ github.event.pull_request.merge_commit_sha }}
fetch-depth: '0'
- name: Create Release Tag
id: taggerFinal
uses: anothrNick/github-tag-action@1.75.0
with:
GITHUB_TOKEN: ${{ secrets.REPO_PUSH_TOKEN }}
WITH_V: true
GIT_API_TAGGING: false
DEFAULT_BUMP: patch
- name: Docker meta
id: meta
uses: docker/metadata-action@v5.7.0
with:
# list of Docker images to use as base name for tags
images: |
harbor.evanshome.io/library/py-eagle-mqtt
# generate Docker tags based on the following events/attributes
flavor: |
latest=true
tags: |
type=schedule
type=ref,event=branch
type=ref,event=pr
type=raw,value=${{ steps.taggerFinal.outputs.new_tag }}
type=semver,pattern={{raw}}
type=semver,pattern={{version}}
type=sha
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3.10.0
- name: Login to Harbor
uses: docker/login-action@v3.4.0
with:
registry: harbor.evanshome.io
username: ${{ secrets.HARBOR_USERNAME }}
password: ${{ secrets.HARBOR_PASSWORD }}
- name: Build and push
uses: docker/build-push-action@v6.15.0
with:
context: ./Docker/
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}