Unverified Commit e6a231f2 authored by Vaibhav Sagar's avatar Vaibhav Sagar Committed by GitHub

.github/workflows/docker.yml: update (#1274)

parent 50fb46b3
...@@ -13,17 +13,35 @@ on: ...@@ -13,17 +13,35 @@ on:
- 'ihaskell-display/**' - 'ihaskell-display/**'
- 'ihaskell.cabal' - 'ihaskell.cabal'
- 'ipython-kernel/**' - 'ipython-kernel/**'
- 'jupyterlab-ihaskell/**'
- 'main/**' - 'main/**'
- 'src/**' - 'src/**'
- 'stack.yaml' - 'stack.yaml'
pull_request:
paths:
- '.dockerignore'
- '.github/workflows/docker.yml'
- 'Dockerfile'
- 'LICENSE'
- 'ghc-parser/**'
- 'html/**'
- 'ihaskell-display/**'
- 'ihaskell.cabal'
- 'ipython-kernel/**'
- 'jupyterlab-ihaskell/**'
- 'main/**'
- 'src/**'
- 'stack.yaml'
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@01aecccf739ca6ff86c0539fbc67a7a5007bbc81 - uses: actions/checkout@v2
- uses: elgohr/Publish-Docker-Github-Action@f7aca2fea76a5218f3c76cd5933c3ba1d8008774 - uses: elgohr/Publish-Docker-Github-Action@3.04
with: with:
name: gibiansky/ihaskell name: gibiansky/ihaskell
username: ${{ secrets.DOCKER_USERNAME }} username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }} password: ${{ secrets.DOCKER_PASSWORD }}
snapshot: true snapshot: true
no_push: ${{ github.event_name == 'pull_request' }}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment