Skip to content

Merge pull request #29 from felixwiemuth/ir2raw-revision #80

Merge pull request #29 from felixwiemuth/ir2raw-revision

Merge pull request #29 from felixwiemuth/ir2raw-revision #80

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