Skip to content

Merge pull request #105 from nebulabroadcast/v6_0_8-clean-up #50

Merge pull request #105 from nebulabroadcast/v6_0_8-clean-up

Merge pull request #105 from nebulabroadcast/v6_0_8-clean-up #50

Workflow file for this run

name: Publish a new version
on:
push:
branches: [ "develop" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: docker/setup-buildx-action@v2
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Get the version
id: get_version
uses: SebRollen/[email protected]
with:
file: 'backend/pyproject.toml'
field: 'tool.poetry.version'
- name: Build docker image
uses: docker/build-push-action@v4
with:
context: .
cache-from: type=gha
cache-to: type=gha,mode=max
push: true
tags: |
nebulabroadcast/nebula-server:dev