Skip to content

adjustments for macOS #75

adjustments for macOS

adjustments for macOS #75

name: Build Binder Image
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
-
name: Checkout code
uses: actions/checkout@v3
-
name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
-
name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build dockerfile
uses: docker/build-push-action@v3
with:
context: .
file: ./binder/DockerfileMain
platforms: linux/amd64
tags: ${{ secrets.DOCKERHUB_USERNAME }}/esys.escript.binder
push: true