diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml index bd852ab..3f87dba 100644 --- a/.forgejo/workflows/build.yaml +++ b/.forgejo/workflows/build.yaml @@ -8,14 +8,15 @@ jobs: runs-on: alpine steps: - - name: Install buildah + name: Install dependencies shell: sh run: | apk add buildah git - - name: Checkout + name: Checkout repository shell: sh - uses: actions/checkout@v4 + run: | + git clone --branch ${{ github.ref_name }} ${{ github.server_url }}/${{ github.repository }} ${{ github.workspace }} - name: Authenticate with registry shell: sh @@ -26,5 +27,5 @@ jobs: shell: sh run: | id - $GITHUB_WORKSPACE/builder.sh ${{ env.REGISTRY_IMAGE }} + ${{ github.workspace }}/builder.sh ${{ env.REGISTRY_IMAGE }} buildah push ${{ env.REGISTRY_IMAGE }}