mirror of
https://github.com/lindbergh-loader/lindbergh-loader.git
synced 2026-10-14 18:09:34 +03:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
73d0c9fb57 | ||
|
|
cf5b0e32d0 | ||
|
|
8c9da58237 | ||
|
|
91da7f0474 |
@@ -29,14 +29,12 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
docker build --target lindbergh-build -t lindbergh-loader .
|
docker build --target lindbergh-build -t lindbergh-loader .
|
||||||
|
|
||||||
# Run the Docker container to extract the build output
|
- name: Extract build artifacts
|
||||||
- name: Run container and extract build output
|
|
||||||
run: |
|
run: |
|
||||||
docker create --name lindbergh-builder lindbergh-loader
|
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
|
docker rm lindbergh-builder
|
||||||
|
|
||||||
# Archive the build directory as an artifact
|
|
||||||
- name: Archive build directory
|
- name: Archive build directory
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
|
|||||||
+2
-1
@@ -15,4 +15,5 @@ WORKDIR /lindbergh-loader
|
|||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
RUN make
|
# Explicitly set the output directory
|
||||||
|
RUN make && mkdir -p /output && cp -r ./build /output
|
||||||
|
|||||||
Reference in New Issue
Block a user