-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
18 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
freefem-docker/ff++-compiled | ||
freefem-docker/freefem.tar.gz | ||
ff++-compiled | ||
freefem.tar.gz | ||
build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
#!/bin/bash | ||
|
||
cd freefem-docker \ | ||
&& chmod +x ./build.sh \ | ||
chmod +x ./build.sh \ | ||
&& ./build.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#!/bin/bash | ||
|
||
sudo docker container stop $(sudo docker container ls -aq) | ||
sudo docker container rm $(sudo docker container ls -aq) | ||
sudo docker rmi $(sudo docker images -q) | ||
sudo docker container stop "$(sudo docker container ls -aq)" | ||
sudo docker container rm "$(sudo docker container ls -aq)" | ||
sudo docker rmi "$(sudo docker images -q)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
#!/bin/bash | ||
|
||
# Login | ||
docker login -u sgarnotel -p $DOCKER_TOKEN | ||
docker login -u sgarnotel -p "$DOCKER_TOKEN" | ||
|
||
# Get the current release number from sources | ||
ORGANIZATION='FreeFem' | ||
SOURCE_REPOSITORY='FreeFem-sources' | ||
CURRENT_VERSION=`curl 'https://api.github.com/repos/'$ORGANIZATION'/'$SOURCE_REPOSITORY'/releases/latest' | jq -r '.tag_name'` | ||
CURRENT_VERSION=$(curl "https://api.github.com/repos/$ORGANIZATION/$SOURCE_REPOSITORY/releases/latest" | jq -r '.tag_name') | ||
|
||
# Tag | ||
docker tag freefem:latest freefem/freefem:latest | ||
docker tag freefem:latest freefem/freefem:$CURRENT_VERSION | ||
docker tag freefem:latest freefem/freefem:"$CURRENT_VERSION" | ||
|
||
# Push | ||
docker push freefem/freefem:latest | ||
docker push freefem/freefem:$CURRENT_VERSION | ||
docker push freefem/freefem:"$CURRENT_VERSION" |
File renamed without changes.
File renamed without changes.