update to v1.57
All checks were successful
build and push ffmpeg-docker / build (push) Successful in 40m0s

This commit is contained in:
2025-10-30 14:33:18 -07:00
parent 54d8b5d5df
commit 2624cda6a3
3 changed files with 27 additions and 24 deletions

View File

@@ -0,0 +1,24 @@
name: build and push ffmpeg-docker
run-name: ${{ gitea.actor }} is building ffmpeg-docker
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: login-docker-hub
uses: docker/login-action@v3
with:
username: salfter
password: ${{ secrets.PASSWD_DOCKER_HUB }}
- name: login-local
uses: docker/login-action@v3
with:
registry: git.alfter.us
username: salfter
password: ${{ secrets.PASSWD_GIT_ALFTER_US }}
- name: build
run: |
bash build-and-push.sh

View File

@@ -1,19 +0,0 @@
name: Gitea Actions Demo
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
on: [push]
jobs:
Explore-Gitea-Actions:
runs-on: ubuntu-latest
steps:
- run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event."
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
- run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
- name: Check out repository code
uses: actions/checkout@v4
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
- name: List files in the repository
run: |
ls ${{ gitea.workspace }}
- run: echo "🍏 This job's status is ${{ job.status }}."

View File

@@ -1,13 +1,11 @@
#!/usr/bin/env bash
SCRIPT_VER=tags/v1.56 # or heads/master for latest
SCRIPT_VER=tags/v1.57 # or heads/master for latest
VERSION=8.0
docker build -t salfter/ffmpeg:latest --build-arg SCRIPT_VER=$SCRIPT_VER . &&
docker push salfter/ffmpeg:latest &&
for tag in salfter/ffmpeg:$VERSION \
cr.gitlab.alfter.us/salfter/ffmpeg-docker:$VERSION \
cr.gitlab.alfter.us/salfter/ffmpeg-docker:latest
for tag in salfter/ffmpeg:$VERSION git.alfter.us/salfter/ffmpeg-docker:$VERSION git.alfter.us/salfter/ffmpeg-docker:latest
do
docker tag salfter/ffmpeg:latest $tag
docker push $tag
done