Skip to content

cd_pipeline_for_backend_testign_pipelines #1

cd_pipeline_for_backend_testign_pipelines

cd_pipeline_for_backend_testign_pipelines #1

Workflow file for this run

## build the docker image
name: Deploy the backend
on:
push:
branches: [dev]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout the code
uses: actions/checkout@v3
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v4
with:
context: .
file: ./apps/http-server/Dockerfile
push: true
tags: codeheist/rexial-http-server:${{ github.sha }}
## SSH into our VM and start the new image