Update .github/workflows/.github-ci.yaml

This commit is contained in:
richardrobertreitz 2024-12-06 13:37:19 +00:00
parent 561ff9b4e1
commit c502b65940

View file

@ -11,21 +11,13 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: docker/metadata-action@v3
id: metadata
- name: Build and push
uses: https://codeberg.org/umglurf/kaniko-action@main
with:
images: forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/${{ github.repository }}
- uses: docker/login-action@v1
with:
registry: forgejo.edf-bootstrap.cx.fg1.ffm.osc.live
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_PASSWORD }}
- uses: int128/kaniko-action@v1
with:
push: true
tags: ${{ steps.metadata.outputs.tags }}
labels: ${{ steps.metadata.outputs.labels }}
cache: true
cache-repository: forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/${{ github.repository }}/cache
cache_repo: forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/${{ github.repository }}/cache
credentials: |
https://forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/v1/=${{ secrets.REGISTRY_USERNAME }}:${{ secrets.REGISTRY_PASSWORD }}
destinations: |
forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/${{ github.repository }}:latest
push: 'true'