Skip to content

Commit

Permalink
Refactor build workflow to extract compiled artifacts using Docker ru…
Browse files Browse the repository at this point in the history
…n command
  • Loading branch information
devincowan committed Apr 11, 2024
1 parent 3c9c2fd commit 9ff56da
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,9 @@ jobs:
cache-to: type=gha,mode=max

- name: Extract built package
uses: shrink/actions-docker-extract@v3
id: extract
with:
image: quota-microservices
path: /output/.
destination: output
run: |
mkdir -p output
docker run --rm -v $(pwd)/output:/output quota-microservices:latest tar -czvf /output/compiled-artifacts.tar.gz /app
# Archive the built package
- name: Archive artifacts
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ RUN yum install -y --skip-broken irods-externals-*
RUN yum install -y openssl-devel libcurl-devel
RUN yum install -y irods-devel-4.2.11-1
COPY . /hydroshare-quota
# CMakeLists.txt must match iRODS version specified. This file is under version control.
# CMakeLists.txt must match iRODS version specified. This file is under version control
# cmake3.21 for iRODS 4.3.x
# cmake3.11.4-0 for iRODS 4.2.x
WORKDIR /hydroshare-quota/
Expand Down

0 comments on commit 9ff56da

Please sign in to comment.