update to yt-local v0.2.20
This commit is contained in:
@@ -10,8 +10,6 @@ on:
|
||||
jobs:
|
||||
release-default:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: gitea/runner-images:ubuntu-latest
|
||||
steps:
|
||||
- name: Collect Workflow Telemetry
|
||||
uses: catchpoint/workflow-telemetry-action@v2
|
||||
@@ -19,6 +17,9 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Extract YT_BRANCH version
|
||||
run: echo "VERSION=$(grep -oP 'ARG YT_BRANCH="\K[^"]+' core/Dockerfile)" >> $GITHUB_ENV
|
||||
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v3
|
||||
|
||||
@@ -43,15 +44,12 @@ jobs:
|
||||
with:
|
||||
context: core
|
||||
file: core/Dockerfile
|
||||
platforms: |
|
||||
linux/amd64
|
||||
linux/arm/v7
|
||||
linux/arm64
|
||||
push: false
|
||||
no-cache: true
|
||||
load: true
|
||||
tags: |
|
||||
${{ secrets.DOCKER_REGISTRY_USER}}/yt-local:latest
|
||||
${{ secrets.DOCKER_REGISTRY_USER}}/yt-local:v0.2.19
|
||||
${{ secrets.DOCKER_REGISTRY_USER}}/yt-local:${{ env.VERSION }}
|
||||
|
||||
- name: Run Trivy vulnerability scanner
|
||||
uses: astounds/trivy-action@v1
|
||||
@@ -71,11 +69,9 @@ jobs:
|
||||
file: core/Dockerfile
|
||||
platforms: |
|
||||
linux/amd64
|
||||
linux/arm/v7
|
||||
linux/arm64
|
||||
linux/386
|
||||
push: true
|
||||
no-cache: false
|
||||
tags: |
|
||||
${{ secrets.DOCKER_REGISTRY_USER}}/yt-local:latest
|
||||
${{ secrets.DOCKER_REGISTRY_USER}}/yt-local:v0.2.19
|
||||
${{ secrets.DOCKER_REGISTRY_USER}}/yt-local:${{ env.VERSION }}
|
||||
|
||||
Reference in New Issue
Block a user