diff --git a/.forgejo/workflows/os.yml b/.forgejo/workflows/os.yml index ccdf0c1..8aa8427 100644 --- a/.forgejo/workflows/os.yml +++ b/.forgejo/workflows/os.yml @@ -61,13 +61,13 @@ jobs: - name: Log into Forgejo Container Registry if: github.event_name != 'pull_request' run: | - buildah --storage-driver=vfs login -u ${{ github.actor }} -p ${{ secrets.PACKAGE_TOKEN }} ${{ env.REGISTRY }} + podman login -u ${{ github.actor }} -p ${{ secrets.PACKAGE_TOKEN }} ${{ env.REGISTRY }} - name: Build image with Buildah id: build-image run: | # Vi bygger med 'raw-img' lokalt - buildah --storage-driver=vfs bud \ + podman build \ --label "org.opencontainers.image.source=https://forge.pc-rytteren.dk/${{ github.repository }}" \ -t raw-img . @@ -80,8 +80,8 @@ jobs: run: | for tag in $(echo "${{ steps.meta.outputs.tags }}"); do echo "Tagging and pushing: $tag" - buildah --storage-driver=vfs tag raw-img "$tag" - buildah --storage-driver=vfs push "$tag" + podman tag raw-img "$tag" + podman push "$tag" done - name: Install cosign