Skip to content

Commit

Permalink
Add PR build workflow (#4)
Browse files Browse the repository at this point in the history
* Add PR build workflow

* Change build context

* Fix context
  • Loading branch information
Brainicism authored Aug 30, 2024
1 parent 9176a15 commit 6bc2578
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: gci-e2e

on:
workflow_dispatch:
push:
branches: [master]
pull_request:

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Checkout bgutil-ytdlp-pot-provider
uses: actions/checkout@v4
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
- name: Build Docker image
uses: docker/build-push-action@v6
with:
context: server/
file: server/Dockerfile
push: false
tags: brainicism/bgutil-ytdlp-pot-provider:ci

0 comments on commit 6bc2578

Please sign in to comment.