Skip to content

Merge pull request #26 from IllumiDesk/revert-25-feat/update-images #53

Merge pull request #26 from IllumiDesk/revert-25-feat/update-images

Merge pull request #26 from IllumiDesk/revert-25-feat/update-images #53

Workflow file for this run

name: Test and Push
on:
pull_request:
paths-ignore:
- "*.md"
push:
branches:
- main
paths-ignore:
- "*.md"
jobs:
build-images:
name: Build Docker Images
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Clone Main Repo
uses: actions/checkout@v2
with:
path: main
- name: Set Up Python
uses: actions/setup-python@v2
with:
python-version: 3.x
- name: Install Dev Dependencies
run: |
python -m pip install --upgrade pip
make -C main dev-env
- name: Build Docker Images
run: make -C main build-all
env:
# Full logs for CI build
BUILDKIT_PROGRESS: plain
- name: Login to Docker Hub
if: github.ref == 'refs/heads/main'
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Push Images to DockerHub
if: github.ref == 'refs/heads/main'
run: make -C main push-all