Skip to content

feat: count unread message in mailbox #2

feat: count unread message in mailbox

feat: count unread message in mailbox #2

Workflow file for this run

name: "Release"
on:
push:
tags:
- "v*.*.*+qoqa.*"
jobs:
ci:
uses: './.github/workflows/ci.yaml'
test:
uses: './.github/workflows/ci.yaml'
release:
runs-on: ubuntu-22.04
needs: [ "ci", "test" ]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Docker meta
id: meta
uses: docker/metadata-action@v4
with:
# list of Docker images to use as base name for tags
images: |
ghcr.io/qoqa/imap-mailbox-exporter
# generate Docker tags based on the following events/attributes
tags: |
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to GHCR
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v3
with:
context: .
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}