2 Commits

2 changed files with 6 additions and 6 deletions
+4 -4
View File
@@ -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
+2 -2
View File
@@ -5,7 +5,7 @@ on:
branches: branches:
- main - main
paths: paths:
- ".gitea/workflows/*.yaml" - ".gitea/workflows/"
workflow_dispatch: workflow_dispatch:
jobs: jobs:
@@ -18,7 +18,7 @@ jobs:
fetch-depth: 0 fetch-depth: 0
- name: Increment tag - name: Increment tag
id: tag id: tag
uses: https://gitea.t000-n.de/t.behrendt/conventional-semantic-git-tag-increment@35ade2957a606ec51fd196b838b0a59996102e96 # 0.1.34 uses: https://gitea.t000-n.de/t.behrendt/conventional-semantic-git-tag-increment@ef0c23189db33220a73022d8c29a27709d0df440 # 0.1.32
with: with:
token: ${{ secrets.GITEA_TOKEN }} token: ${{ secrets.GITEA_TOKEN }}
- name: Push tag - name: Push tag