Merge pull request #121 from nebulabroadcast/update-dependencies-and-… #78
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Publish a dev 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: 'project.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 |