-
Notifications
You must be signed in to change notification settings - Fork 547
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add GHA to build and push this image to the GHCR
- Loading branch information
Showing
1 changed file
with
27 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: build e2e-runner container | ||
on: | ||
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/gitbutler/e2e-runner:latest |