Skip to content

Commit

Permalink
Build docker stack in actions
Browse files Browse the repository at this point in the history
  • Loading branch information
aliavni committed Apr 19, 2024
1 parent a33836f commit a10030b
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/build-docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Docker Image CI

on: [push]

jobs:

build:
runs-on: ubuntu-latest
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: ${{ secrets.POSTGRES_PASSWORD }}
LAB_HOME: /home/jovyan

SPARK_MASTER: spark://spark-master:7077
SPARK_WORKER_CORES: 4
SPARK_WORKER_MEMORY: 5G
SPARK_DRIVER_MEMORY: 5G
SPARK_EXECUTOR_MEMORY: 5G


steps:
- uses: actions/checkout@v3
- name: Build the docker-compose stack
run: docker-compose up -d

- name: Check running containers
run: docker ps -a

0 comments on commit a10030b

Please sign in to comment.