From 7b87012a0d19514aa2c78b886813deb53af5d7b9 Mon Sep 17 00:00:00 2001 From: Benjamin Pracht Date: Fri, 12 Jan 2024 16:25:56 -0800 Subject: [PATCH] WiP --- .../workflows/publish-gstreamer-arm64.yaml | 2 ++ .github/workflows/publish-gstreamer-tag.yaml | 26 +++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 .github/workflows/publish-gstreamer-tag.yaml 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 + +