Skip to content

chore(deps): update dependency jeboehm/mailserver-admin to v2.1.29 #119

chore(deps): update dependency jeboehm/mailserver-admin to v2.1.29

chore(deps): update dependency jeboehm/mailserver-admin to v2.1.29 #119

---
name: Publish release
on:
push:
branches:
- main
- next
jobs:
publish_release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Prepare environment
run: make .env
- name: Build images
run: make build
- name: Bump version and push tag
id: tag_version
uses: mathieudutour/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
if: github.ref == 'refs/heads/main'
- name: Create a GitHub release
uses: ncipollo/release-action@v1
with:
tag: ${{ steps.tag_version.outputs.new_tag }}
name: Release ${{ steps.tag_version.outputs.new_tag }}
body: ${{ steps.tag_version.outputs.changelog }}
if: github.ref == 'refs/heads/main'
- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Push images (new tag)
run: |
.ci/bin/push_image_version.sh ${{ steps.tag_version.outputs.new_tag }}
if: github.ref == 'refs/heads/main'
- name: Push images (next)
run: |
.ci/bin/push_image_version.sh next
if: github.ref == 'refs/heads/next'