Compare commits
2 Commits
0.1.1
..
e045fc73c6
| Author | SHA1 | Date | |
|---|---|---|---|
| e045fc73c6 | |||
|
7514d4c273
|
@@ -47,6 +47,8 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
# Prepared for future multi-arch support in the future, as soon as ACT has support for dynamic matrixes.
|
# Prepared for future multi-arch support in the future, as soon as ACT has support for dynamic matrixes.
|
||||||
arch: [amd64]
|
arch: [amd64]
|
||||||
|
needs:
|
||||||
|
- test
|
||||||
runs-on:
|
runs-on:
|
||||||
- ubuntu-latest
|
- ubuntu-latest
|
||||||
- linux_${{ matrix.arch }}
|
- linux_${{ matrix.arch }}
|
||||||
@@ -63,16 +65,14 @@ jobs:
|
|||||||
context: ${{ inputs.context }}
|
context: ${{ inputs.context }}
|
||||||
file: ${{ inputs.dockerfile }}
|
file: ${{ inputs.dockerfile }}
|
||||||
platforms: linux/${{ matrix.arch }}
|
platforms: linux/${{ matrix.arch }}
|
||||||
push: ${{ inputs.dry-run == false || inputs.dry-run == 'false' }}
|
push: ${{ !inputs.dry-run }}
|
||||||
provenance: false
|
provenance: false
|
||||||
tags: |
|
tags: |
|
||||||
${{ inputs.registry }}/${{ inputs.repo-name }}:${{ inputs.tag }}-${{ matrix.arch }}
|
${{ inputs.registry }}/${{ inputs.repo-name }}:${{ inputs.tag }}-${{ matrix.arch }}
|
||||||
cache-from: type=registry,ref=${{ inputs.registry }}/${{ inputs.repo-name }}:cache-${{ matrix.arch }}
|
|
||||||
cache-to: type=registry,ref=${{ inputs.registry }}/${{ inputs.repo-name }}:cache-${{ matrix.arch }},mode=max
|
|
||||||
|
|
||||||
create_manifest:
|
create_manifest:
|
||||||
name: Create manifest
|
name: Create manifest
|
||||||
if: ${{ inputs.dry-run == false || inputs.dry-run == 'false' }}
|
if: ${{ !inputs.dry-run }}
|
||||||
needs:
|
needs:
|
||||||
- build_and_push
|
- build_and_push
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ on:
|
|||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
paths:
|
paths:
|
||||||
- ".gitea/workflows/*.yaml"
|
- ".gitea/workflows/"
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|||||||
Reference in New Issue
Block a user