Use more concise image tags

This commit is contained in:
Ingo Oppermann
2024-02-13 16:58:11 +01:00
parent 761d55ce11
commit 33dcb0862d
4 changed files with 48 additions and 44 deletions

View File

@@ -1,10 +1,10 @@
name: 'base:alpine-ffmpeg-rpi'
name: "base:alpine-ffmpeg-rpi"
on:
workflow_dispatch:
push:
branches-ignore:
- '**'
- "**"
jobs:
docker:
@@ -15,17 +15,17 @@ jobs:
- uses: cardinalby/export-env-action@v1
with:
envFile: 'Build.alpine.env'
export: 'true'
expandWithJobEnv: 'true'
expand: 'true'
envFile: "Build.alpine.env"
export: "true"
expandWithJobEnv: "true"
expand: "true"
- uses: cardinalby/export-env-action@v1
with:
envFile: 'Build.alpine.rpi.env'
export: 'true'
expandWithJobEnv: 'true'
expand: 'true'
envFile: "Build.alpine.rpi.env"
export: "true"
expandWithJobEnv: "true"
expand: "true"
- name: Set up QEMU
uses: docker/setup-qemu-action@master
@@ -74,6 +74,7 @@ jobs:
platforms: linux/arm64, linux/arm/v7
push: true
tags: |
datarhei/base:ffmpeg${{ env.FFMPEG_VERSION }}-rpi-${{ env.OS_NAME }}${{ env.OS_VERSION }}
datarhei/base:${{ env.OS_NAME }}-ffmpeg-rpi-${{ env.OS_VERSION }}-${{ env.FFMPEG_VERSION }}
datarhei/base:${{ env.OS_NAME }}-ffmpeg-rpi-latest
cache-from: type=local,src=/tmp/.buildx-cache

View File

@@ -1,10 +1,10 @@
name: 'base:alpine-ffmpeg'
name: "base:alpine-ffmpeg"
on:
workflow_dispatch:
push:
branches-ignore:
- '**'
- "**"
jobs:
docker:
@@ -12,13 +12,13 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
- uses: cardinalby/export-env-action@v1
with:
envFile: 'Build.alpine.env'
export: 'true'
expandWithJobEnv: 'true'
expand: 'true'
envFile: "Build.alpine.env"
export: "true"
expandWithJobEnv: "true"
expand: "true"
- name: Set up QEMU
uses: docker/setup-qemu-action@master
@@ -66,6 +66,7 @@ jobs:
platforms: linux/amd64,linux/arm64,linux/arm/v7
push: true
tags: |
datarhei/base:ffmpeg${{ env.FFMPEG_VERSION }}-${{ env.OS_NAME }}${{ env.OS_VERSION }}
datarhei/base:${{ env.OS_NAME }}-ffmpeg-${{ env.OS_VERSION }}-${{ env.FFMPEG_VERSION }}
datarhei/base:${{ env.OS_NAME }}-ffmpeg-latest
cache-from: type=local,src=/tmp/.buildx-cache

View File

@@ -1,10 +1,10 @@
name: 'base:ubuntu-ffmpeg-cuda'
name: "base:ubuntu-ffmpeg-cuda"
on:
workflow_dispatch:
push:
branches-ignore:
- '**'
- "**"
jobs:
docker:
@@ -12,20 +12,20 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
- uses: cardinalby/export-env-action@v1
with:
envFile: 'Build.ubuntu.env'
export: 'true'
expandWithJobEnv: 'true'
expand: 'true'
- uses: cardinalby/export-env-action@v1
with:
envFile: 'Build.ubuntu.cuda.env'
export: 'true'
expandWithJobEnv: 'true'
expand: 'true'
envFile: "Build.ubuntu.env"
export: "true"
expandWithJobEnv: "true"
expand: "true"
- uses: cardinalby/export-env-action@v1
with:
envFile: "Build.ubuntu.cuda.env"
export: "true"
expandWithJobEnv: "true"
expand: "true"
- name: Set up QEMU
uses: docker/setup-qemu-action@master
@@ -75,7 +75,8 @@ jobs:
platforms: linux/amd64
push: true
tags: |
datarhei/base:${{ env.OS_NAME }}-ffmpeg-cuda-${{ env.OS_VERSION }}-${{ env.FFMPEG_VERSION }}-${{env.CUDA_VERSION}}
datarhei/base:ffmpeg${{ env.FFMPEG_VERSION }-cuda-${{ env.OS_NAME }}${{ env.OS_VERSION }}-cuda${{ env.CUDA_VERSION }}
datarhei/base:${{ env.OS_NAME }}-ffmpeg-cuda-${{ env.OS_VERSION }}-${{ env.FFMPEG_VERSION }}-${{ env.CUDA_VERSION }}
datarhei/base:${{ env.OS_NAME }}-ffmpeg-cuda-latest
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache-new

View File

@@ -1,10 +1,10 @@
name: 'base:ubuntu-ffmpeg-vaapi'
name: "base:ubuntu-ffmpeg-vaapi"
on:
workflow_dispatch:
push:
branches-ignore:
- '**'
- "**"
jobs:
docker:
@@ -12,20 +12,20 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
- uses: cardinalby/export-env-action@v1
with:
envFile: 'Build.ubuntu.env'
export: 'true'
expandWithJobEnv: 'true'
expand: 'true'
- uses: cardinalby/export-env-action@v1
with:
envFile: 'Build.ubuntu.vaapi.env'
export: 'true'
expandWithJobEnv: 'true'
expand: 'true'
envFile: "Build.ubuntu.env"
export: "true"
expandWithJobEnv: "true"
expand: "true"
- uses: cardinalby/export-env-action@v1
with:
envFile: "Build.ubuntu.vaapi.env"
export: "true"
expandWithJobEnv: "true"
expand: "true"
- name: Set up QEMU
uses: docker/setup-qemu-action@master
@@ -73,6 +73,7 @@ jobs:
platforms: linux/amd64
push: true
tags: |
datarhei/base:ffmpeg${{ env.FFMPEG_VERSION }}-vaapi-${{ env.OS_NAME }}${{ env.OS_VERSION }}
datarhei/base:${{ env.OS_NAME }}-ffmpeg-vaapi-${{ env.OS_VERSION }}-${{ env.FFMPEG_VERSION }}
datarhei/base:${{ env.OS_NAME }}-ffmpeg-vaapi-latest
cache-from: type=local,src=/tmp/.buildx-cache