Skip to content

Commit

Permalink
Added release tagging
Browse files Browse the repository at this point in the history
  • Loading branch information
antoniomika committed Jan 20, 2020
1 parent 3f03889 commit 5ebaad4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ jobs:
BRANCH_NAME="${GITHUB_REF#refs/heads/}"
REF="${BRANCH_NAME:-master}"
OTHER_TAGS=""
if [[ "${REF}" = "master" ]]
if [[ ${GITHUB_REF} =~ ^refs\/tags\/v.*$ ]]
then
REF="${GITHUB_REF//refs\/tags\/}"
OTHER_TAGS="${OTHER_TAGS} -t ${GITHUB_REPOSITORY}:latest"
fi
Expand Down
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,18 @@ services:
## How to use a running instance
1. Upload files:
1. Upload files
- ```bash
curl --progress-bar --upload-file ~/Downloads/ubuntu-19.04-live-server-amd64.iso http://<yourhost>:8000
```
- ```bash
curl --progress-bar --upload-file ~/Downloads/ubuntu-19.04-live-server-amd64.iso http://<yourhost>:8000
```

2. Download files from a URL like <https://send.firefox.com/download/file_id/#file_key>

- ```bash
wget http://<yourhost>:8000/file_id/file_key -O file_name.iso
```
- ```bash
wget http://<yourhost>:8000/file_id/file_key -O file_name.iso
```

- ```bash
wget http://<yourhost>:8000/download?url=https%3A%2F%2Fsend.firefox.com%2Fdownload%2Ffile_id%2F%23file_key -O file_name.iso
```
- ```bash
wget http://<yourhost>:8000/download?url=https%3A%2F%2Fsend.firefox.com%2Fdownload%2Ffile_id%2F%23file_key -O file_name.iso
```

0 comments on commit 5ebaad4

Please sign in to comment.