1
0
Fork 0
ostree-native-containers/.forgejo/workflows/build-image.yaml
ver4a e828792344
All checks were successful
/ build-image (push) Successful in 5m48s
Add first image build workflow
2024-11-05 23:18:35 +01:00

10 lines
407 B
YAML

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