Skip to content

Commit

Permalink
feat: add GHA to build and push this image to the GHCR
Browse files Browse the repository at this point in the history
  • Loading branch information
ndom91 committed Sep 4, 2024
1 parent 06a0596 commit 1cf328d
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/push-e2e-img.yml
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

0 comments on commit 1cf328d

Please sign in to comment.