remove buildah

This commit is contained in:
skeris 2025-01-27 17:27:20 +03:00
parent 66da3a3374
commit 1412e88e55

@ -22,7 +22,7 @@ jobs:
steps: steps:
- name: Check out repository code - name: Check out repository code
uses: https://gitea.pena/PenaDevops/actions.git/checkout@v1 uses: https://gitea.pena/PenaDevops/actions.git/checkout@v1
- run: buildah login -u ${{ secrets.REGISTRY_USER }} -p ${{ secrets.REGISTRY_PASSWORD }} gitea.pena - run: podman login -u ${{ secrets.REGISTRY_USER }} -p ${{ secrets.REGISTRY_PASSWORD }} gitea.pena
- run: ln -s /go/pkg/mod ./go-cache - run: ln -s /go/pkg/mod ./go-cache
- name: set lower case repository - name: set lower case repository
run: | run: |
@ -30,5 +30,5 @@ jobs:
env: env:
REPOSITORY: '${{ gitea.repository }}' REPOSITORY: '${{ gitea.repository }}'
- run: podman system prune -a -f - run: podman system prune -a -f
- run: buildah build -m 1g -t gitea.pena/${{ env.REPOSITORY_LC }}/${{ gitea.ref_name }}:${{ gitea.run_id }} . - run: podman build -m 1g -t gitea.pena/${{ env.REPOSITORY_LC }}/${{ gitea.ref_name }}:${{ gitea.run_id }} .
- run: buildah push gitea.pena/${{ env.REPOSITORY_LC }}/${{ gitea.ref_name }}:${{ gitea.run_id }} - run: podman push gitea.pena/${{ env.REPOSITORY_LC }}/${{ gitea.ref_name }}:${{ gitea.run_id }}