Skip to content

Commit

Permalink
Merge pull request #47 from umccr/feature/add-ici-uploader-4-0-3
Browse files Browse the repository at this point in the history
Added ici-uploader as a multi-arch image
  • Loading branch information
alexiswl authored Sep 2, 2024
2 parents 4bfc5f8 + 377cb21 commit 575c5dd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
*.rpm filter=lfs diff=lfs merge=lfs -text
*.bin filter=lfs diff=lfs merge=lfs -text
repositories/ici-uploader/4.0.3/ici-uploader.amd64.tar.gz filter=lfs diff=lfs merge=lfs -text
repositories/ici-uploader/4.0.3/ici-uploader.arm64.tar.gz filter=lfs diff=lfs merge=lfs -text
2 changes: 2 additions & 0 deletions .github/workflows/scatter_build_and_push_to_ghcrio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
push:
branches:
- "main"
workflow_dispatch:


concurrency: image_builds

Expand Down
4 changes: 2 additions & 2 deletions repositories/ici-uploader/4.0.3/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ RUN apk update && \
openjdk11 \
tar \
bash && \
mkdir -p "${ICI_HOME}"
mkdir -p "$(dirname "${ICI_HOME}")"

# Add and extract tarball
ADD "ici-uploader.${TARGETPLATFORM#linux/}.tar.gz" "${ICI_HOME%ici-uploader}"
ADD "ici-uploader.sh" "/usr/local/bin/ici-uploader"

# Change permissions
RUN ls "${ICI_HOME}" && chmod a+r "${ICI_HOME}/" && \
RUN chmod a+r "${ICI_HOME}/" && \
chmod a+x "${ICI_HOME}/ici-uploader" && \
chmod a+x "/usr/local/bin/ici-uploader"

Expand Down

0 comments on commit 575c5dd

Please sign in to comment.