diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml index db40200..9febfea 100644 --- a/.forgejo/workflows/build.yaml +++ b/.forgejo/workflows/build.yaml @@ -29,16 +29,6 @@ jobs: - name: Install app with 'uv pip install' run: uv pip install --python=$UV_PROJECT_ENVIRONMENT --no-deps . - - name: Build the container image - uses: actions/buildah-build@v1 - with: - image: treetrail-backend - oci: true - labels: treetrail-backend - tags: ${{ steps.version.outputs.version }} - containerfiles: | - ./Containerfile - - name: Workaround for bug of podman-login run: | mkdir -p $HOME/.docker @@ -52,6 +42,16 @@ jobs: password: ${{ secrets.REGISTRY_PASSWORD }} auth_file_path: /tmp/auth.json + - name: Build the container image + uses: actions/buildah-build@v1 + with: + image: treetrail-backend + oci: true + labels: treetrail-backend + tags: ${{ steps.version.outputs.version }} + containerfiles: | + ./Containerfile + - name: Push the image to the registry uses: actions/push-to-registry@v2 with: