Skip to content

add eng2igbo url to deploy #590

add eng2igbo url to deploy

add eng2igbo url to deploy #590

Workflow file for this run

name: Dockerize Igbo API
on:
push:
branches:
- master
jobs:
dockerize:
name: Dockerize
runs-on: ubuntu-latest
steps:
- name: Git checkout
uses: actions/checkout@v2
- name: Use Node.js @20
uses: actions/setup-node@v1
with:
node-version: 20
- name: Log into Docker Account
run: echo $DOCKER_PASSWORD | docker login -u $DOCKER_USERNAME --password-stdin
env:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
- name: Build Docker Image
run: docker build -t igbo_api .
- name: Push Docker Image
run: |
docker tag igbo_api $DOCKER_USERNAME/igbo_api_server
docker push $DOCKER_USERNAME/igbo_api_server
env:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}