.
This commit is contained in:
@ -1,12 +0,0 @@
|
||||
name: CI Workflow
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
build_push:
|
||||
uses: ./.github/workflows/build_push_container.yml
|
||||
with:
|
||||
registry: ${{ secrets.MY_REGISTRY }}
|
||||
registry_username: ${{ secrets.MY_REGISTRY_USERNAME }}
|
||||
registry_password: ${{ secrets.MY_REGISTRY_PASSWORD }}
|
||||
titles: 'Your Image Title' # Specify any required titles or metadata if needed
|
||||
@ -15,6 +15,9 @@ on:
|
||||
titles:
|
||||
required: true
|
||||
type: string
|
||||
osversion:
|
||||
required: true
|
||||
type: number
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@ -23,9 +26,6 @@ jobs:
|
||||
DOCKER_ORG: teacup
|
||||
DOCKER_LATEST: nightly
|
||||
RUNNER_TOOL_CACHE: /toolcache
|
||||
strategy:
|
||||
matrix:
|
||||
os: [3.20.0, 3.21.0, 3.22.0]
|
||||
steps:
|
||||
- name: "Build: checkout"
|
||||
uses: actions/checkout@v4
|
||||
@ -59,12 +59,12 @@ jobs:
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
build-args: |
|
||||
VERSION=${{ matrix.os }}
|
||||
VERSION=${{ inputs.osversion }}
|
||||
NAS_USER=dnke
|
||||
context: .
|
||||
push: true
|
||||
tags: |
|
||||
${{ inputs.registry }}/${{ inputs.registry_username }}/${{ env.myTITLE }}:${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.revision'] }}
|
||||
${{ inputs.registry }}/${{ inputs.registry_username }}/${{ env.myTITLE }}:${{ matrix.os }}
|
||||
${{ inputs.registry }}/${{ inputs.registry_username }}/${{ env.myTITLE }}:${{ inputs.osversion }}
|
||||
${{ inputs.registry }}/${{ inputs.registry_username }}/${{ env.myTITLE }}:latest
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
Reference in New Issue
Block a user