This commit is contained in:
parent
c0cb05d355
commit
e828792344
1 changed files with 10 additions and 0 deletions
10
.forgejo/workflows/build-image.yaml
Normal file
10
.forgejo/workflows/build-image.yaml
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
on: [push]
|
||||||
|
jobs:
|
||||||
|
build-image:
|
||||||
|
runs-on: shell
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- run: cd ${{ env.GITHUB_WORKSPACE }}
|
||||||
|
- run: podman login -u ${{ vars.REGISTRY_USERNAME }} -p ${{ secrets.REGISTRY_PASSWORD }} ${{ vars.REGISTRY_DOMAIN }}
|
||||||
|
- run: podman build . --no-cache -t docker://${{ vars.REGISTRY_DOMAIN }}/${{ vars.MAIN_IMAGE }}:40
|
||||||
|
- run: podman image prune -f
|
Loading…
Add table
Add a link
Reference in a new issue