Compare commits

..
5 Commits
Author SHA1 Message Date
Bobby Dilley 6d799d7524 Update ci.yml 2025-01-09 11:30:00 +00:00
Bobby Dilley 73d0c9fb57 Update ci.yml 2025-01-09 11:26:02 +00:00
Bobby Dilley cf5b0e32d0 Update ci.yml 2025-01-09 11:20:32 +00:00
Bobby Dilley 8c9da58237 Update ci.yml 2025-01-09 11:20:01 +00:00
Bobby Dilley 91da7f0474 Update Dockerfile 2025-01-09 11:19:27 +00:00
2 changed files with 9 additions and 6 deletions
+7 -5
View File
@@ -29,22 +29,23 @@ jobs:
run: |
docker build --target lindbergh-build -t lindbergh-loader .
# Run the Docker container to extract the build output
- name: Run container and extract build output
# Extract build artifacts
- name: Extract build artifacts
run: |
docker create --name lindbergh-builder lindbergh-loader
docker cp lindbergh-builder:/lindbergh-loader/build ./build
docker cp lindbergh-builder:/output ./build
docker rm lindbergh-builder
# Archive the build directory as an artifact
# Archive the build directory
- name: Archive build directory
uses: actions/upload-artifact@v3
with:
name: build-output
path: ./build
# Create a GitHub release and upload the artifact
# Create a GitHub release and capture the upload URL
- name: Create Release
id: create_release # Assign an ID to reference the output
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -54,6 +55,7 @@ jobs:
draft: false
prerelease: false
# Upload the build artifact to the release
- name: Upload Release Asset
uses: actions/upload-release-asset@v1
env:
+2 -1
View File
@@ -15,4 +15,5 @@ WORKDIR /lindbergh-loader
COPY . .
RUN make
# Explicitly set the output directory
RUN make && mkdir -p /output && cp -r ./build /output