Update .github/workflows/.github-ci.yaml
This commit is contained in:
parent
561ff9b4e1
commit
c502b65940
1 changed files with 8 additions and 16 deletions
24
.github/workflows/.github-ci.yaml
vendored
24
.github/workflows/.github-ci.yaml
vendored
|
@ -11,21 +11,13 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- uses: docker/metadata-action@v3
|
- name: Build and push
|
||||||
id: metadata
|
uses: https://codeberg.org/umglurf/kaniko-action@main
|
||||||
with:
|
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: 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'
|
||||||
|
|
Loading…
Reference in a new issue