feat: add e2e runner container and GHA to build and publish #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and Publish E2E Container | |
on: | |
pull_request: | |
branches: | |
- master | |
push: | |
branches: | |
- master | |
# paths: | |
# - 'apps/desktop/e2e/Dockerfile' | |
jobs: | |
docker_publish: | |
runs-on: ubuntu-latest | |
permissions: write-all | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Log in to GitHub Container Registry | |
uses: docker/login-action@v3 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Build and push container image | |
uses: docker/build-push-action@v6 | |
with: | |
context: "apps/desktop/e2e" | |
push: true | |
tags: ghcr.io/gitbutlerapp/e2e-runner:latest |