Skip to content

fix(config): redis sentinel (#1090) #33

fix(config): redis sentinel (#1090)

fix(config): redis sentinel (#1090) #33

Workflow file for this run

name: Publish docker release
on:
push:
tags:
- "v*"
jobs:
publish:
name: Publish images
runs-on: ubuntu-22.04
strategy:
matrix:
services: [api, checker, cli, notifier, filter]
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- uses: docker/login-action@v2
name: Login to DockerHub
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
- name: Build docker tag
run: echo "DOCKER_TAG=$(echo ${{github.ref_name}} | cut -c2-)" >> $GITHUB_ENV
- name: Build and push
uses: docker/build-push-action@v4
with:
file: ./Dockerfile.${{matrix.services}}
build-args: |
MoiraVersion=${{env.DOCKER_TAG}}
GIT_COMMIT=${{github.sha}}
push: true
tags: moira/${{matrix.services}}:${{env.DOCKER_TAG}},moira/${{matrix.services}}:latest