diff --git a/.github/workflows/publish-gstreamer-arm64.yaml b/.github/workflows/publish-gstreamer-arm64.yaml index 44c60900..a1ce176b 100644 --- a/.github/workflows/publish-gstreamer-arm64.yaml +++ b/.github/workflows/publish-gstreamer-arm64.yaml @@ -2,6 +2,8 @@ name: GStreamer build ARM64 on: workflow_dispatch: + pull_request: + branches: [ main ] jobs: gstreamer-build-arm64: diff --git a/.github/workflows/publish-gstreamer-tag.yaml b/.github/workflows/publish-gstreamer-tag.yaml new file mode 100644 index 00000000..f8dc700a --- /dev/null +++ b/.github/workflows/publish-gstreamer-tag.yaml @@ -0,0 +1,26 @@ +name: GStreamer publish tag + +on: + workflow_dispatch: + pull_request: + branches: [ main ] + +jobs: + tag-gstreamer-build: + runs-on: buildjet-8vcpu-ubuntu-2204 + - name: Checkout code + uses: actions/checkout@v4 + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + + - name: Login to Docker Hub + uses: docker/login-action@v3 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + + - name: Run tag script + run: ./build/gstreamer/tag.sh + +