Skip to content

feat: add tests on xsrf and conversation routes #29

feat: add tests on xsrf and conversation routes

feat: add tests on xsrf and conversation routes #29

Workflow file for this run

name: Tags CI
concurrency:
group: '${{ github.workflow }} @ ${{ github.ref }}'
cancel-in-progress: true
on:
push:
tags:
- 'v[0-9]\.[0-9]\.[0-9]*'
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Pull the code
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_HUB_USER }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}
- name: Calculate the docker meta
id: docker_meta
uses: docker/metadata-action@v5
with:
images: |
coenern/neutrino
tags: |
type=semver,pattern={{ version }}
type=semver,pattern={{ major }}.{{ minor }}
type=semver,pattern={{ major }}
flavor: |
latest=false
- name: Build and push the image
uses: docker/build-push-action@v5
with:
context: .
file: ./docker_build/Dockerfile
target: main
push: true
tags: ${{ steps.docker_meta.outputs.tags }}
labels: ${{ steps.docker_meta.outputs.labels }}