Skip to content
This repository was archived by the owner on Aug 9, 2023. It is now read-only.

Commit 5ad4e8e

Browse files
committed
Source nextflow container image from ECR Public
1 parent 0e91292 commit 5ad4e8e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

_scripts/deploy.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@ function s3_sync() {
107107
$destination"
108108
echo $cmd
109109
eval $cmd
110-
exit
111110
}
112111

113112
function publish() {
@@ -158,11 +157,12 @@ function pin_version() {
158157
local version=$1
159158
local asset=$2
160159
local folder=$3
161-
160+
162161
echo "PINNING VERSIONS"
163162
for file in `grep -irl "$asset # dist: pin_version" $folder`; do
164163
echo "pinning '$asset' as '$version/$asset' in '$file'"
165-
sed -i'' -e "s|$asset # dist: pin_version|$version/$asset #|g" $file
164+
sed -e "s|$asset # dist: pin_version|$version/$asset #|g" $file > $file.tmp
165+
mv $file.tmp $file
166166
done
167167
}
168168

src/containers/nextflow/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
ARG VERSION=latest
2-
FROM nextflow/nextflow:${VERSION} AS build
2+
FROM public.ecr.aws/seqera-labs/nextflow:${VERSION} AS build
33

44
# The upstream nextflow containers are based on alpine
55
# which are not compatible with the aws cli

0 commit comments

Comments
 (0)