Skip to content

Merge branch 'develop' of https://github.com/podverse/podverse-web #409

Merge branch 'develop' of https://github.com/podverse/podverse-web

Merge branch 'develop' of https://github.com/podverse/podverse-web #409

Workflow file for this run

name: master-branch
on:
push:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v4
-
name: Read node from package.json
uses: culshaw/read-package-node-version-actions@v1
id: package-node-version
-
name: send deploying message to Matrix Alerts room
uses: s3krit/[email protected]
with:
room_id: ${{ secrets.MATRIX_ALERTS_ROOM_ID }}
access_token: ${{ secrets.MATRIX_ACCESS_TOKEN }}
message: "Deploying podverse-web ${{ steps.package-node-version.outputs.version }} to prod..."
server: ${{ secrets.MATRIX_SERVER }}
-
name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
-
name: Build and push
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile
push: true
tags: podverse/podverse_web:latest,podverse/podverse_web:${{ steps.package-node-version.outputs.version }}