Skip to content

Merge pull request #55 from MELDProject/update_images #36

Merge pull request #55 from MELDProject/update_images

Merge pull request #55 from MELDProject/update_images #36

Workflow file for this run

name: ci
on:
push:
branches:
- "main"
paths-ignore:
- 'docs/**'
env:
LATEST_TAG: meldproject/
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
# this might remove tools that are actually needed,
# if set to "true" but frees about 6 GB
tool-cache: false
# all of these default to true, but feel free to set to
# "false" if necessary for your workflow
android: true
dotnet: true
haskell: true
large-packages: true
docker-images: true
swap-storage: true
- name: Checkout
uses: actions/checkout@v4
- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile
tags: ${{ secrets.DOCKERHUB_USERNAME }}/meld_graph:latest
push: true
cache-from: type=gha
cache-to: type=gha,mode=max