-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
combine publish gstreamer actions (#693)
- Loading branch information
1 parent
9b5216c
commit 298d94b
Showing
6 changed files
with
54 additions
and
56 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
This file was deleted.
Oops, something went wrong.
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,49 @@ | ||
name: Publish GStreamer | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
version: | ||
description: "GStreamer version to publish (e.g. 1.24.4)" | ||
required: true | ||
type: string | ||
|
||
jobs: | ||
gstreamer-build-amd64: | ||
uses: ./.github/workflows/publish-gstreamer-base.yaml | ||
with: | ||
version: ${{ inputs.version }} | ||
buildjet-runs-on: buildjet-8vcpu-ubuntu-2204 | ||
arch: amd64 | ||
secrets: | ||
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} | ||
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }} | ||
|
||
gstreamer-build-arm64: | ||
uses: ./.github/workflows/publish-gstreamer-base.yaml | ||
with: | ||
version: ${{ inputs.version }} | ||
buildjet-runs-on: namespace-profile-arm-16 | ||
arch: arm64 | ||
secrets: | ||
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} | ||
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }} | ||
|
||
tag-gstreamer-build: | ||
needs: [gstreamer-build-amd64, gstreamer-build-arm64] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- 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 ${{ inputs.version }} |
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