Skip to content

Commit

Permalink
Release: update version to 0.21.0
Browse files Browse the repository at this point in the history
  • Loading branch information
chyroc committed Dec 29, 2023
1 parent 18a3bcc commit b755180
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- "v*"
workflow_dispatch:
jobs:
docker:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
Expand Down Expand Up @@ -55,7 +55,8 @@ jobs:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
-
name: Build and push
name: Build and push by digest
id: build
uses: docker/build-push-action@v5
with:
context: .
Expand All @@ -65,6 +66,7 @@ jobs:
platforms: ${{ matrix.platform }}
cache-from: type=gha
cache-to: type=gha,mode=max
outputs: type=image,name=ghcr.io/chyroc/icloud-photo-cli,push-by-digest=true,name-canonical=true,push=true
-
name: Export digest
run: |
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ docker run \
-e ICLOUD_WITH_LIVE_PHOTO="true" \
-v /path/to/your/cookie:/icloud_cookie \
-v /path/to/your/photos:/icloud_photos \
ghcr.io/chyroc/icloud-photo-cli:0.21 download
ghcr.io/chyroc/icloud-photo-cli:0.21.0 download
```

### By Go
Expand Down Expand Up @@ -76,7 +76,7 @@ docker run \
-e ICLOUD_FILE=/icloud_photos/filepath \
-v /path/to/your/cookie:/icloud_cookie \
-v /path/to/your/photos:/icloud_photos \
ghcr.io/chyroc/icloud-photo-cli:0.21 upload
ghcr.io/chyroc/icloud-photo-cli:0.21.0 upload
```
### By Go
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: "3.7"

services:
app:
image: ghcr.io/chyroc/icloud-photo-cli:0.21
image: ghcr.io/chyroc/icloud-photo-cli:0.21.0
environment:
- ICLOUD_USERNAME=your_icloud_username
- ICLOUD_PASSWORD=your_icloud_password
Expand Down

0 comments on commit b755180

Please sign in to comment.