Skip to content

Merge pull request #39 from felixwiemuth/sparsebit-improvements #96

Merge pull request #39 from felixwiemuth/sparsebit-improvements

Merge pull request #39 from felixwiemuth/sparsebit-improvements #96

name: Build docker image and push to registry
on: push
jobs:
publish_docker:
runs-on: ubuntu-latest
if: (github.ref == 'refs/heads/master') && (github.repository_owner == 'TroupeLang')
steps:
- uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: build and push docker image
uses: docker/build-push-action@v4
with:
push: true
tags: ghcr.io/troupelang/troupe:latest