Skip to content

[StockAggregator] Removed .env file #2

[StockAggregator] Removed .env file

[StockAggregator] Removed .env file #2

Workflow file for this run

name: CI/CD Pipeline
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: x86_64-unknown-linux-gnu
profile: minimal
- name: Build the project
run: cargo build --release
- name: Run tests
run: cargo test --verbose
dockerize:
runs-on: ubuntu-latest
needs: build
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Build and push Docker image
uses: docker/build-push-action@v2
with:
context: .
file: ./Dockerfile
push: true
tags: your-dockerhub-username/stock_aggregator:latest