mirror of
https://github.com/sern-handler/pocketbase
synced 2026-06-06 01:16:56 +00:00
fix: ambigous redirect
This commit is contained in:
5
.github/workflows/publish.yml
vendored
5
.github/workflows/publish.yml
vendored
@@ -24,14 +24,13 @@ jobs:
|
||||
password: ${{ secrets.DOCKERHUB_PASSWORD }}
|
||||
- name: Get latest version
|
||||
run: |
|
||||
curl -s https://api.github.com/repos/pocketbase/pocketbase/releases/latest \
|
||||
echo "VERSION=$(curl -s https://api.github.com/repos/pocketbase/pocketbase/releases/latest \
|
||||
| grep "tag_name" \
|
||||
| awk '{print $2}' \
|
||||
| tr -d '"' \
|
||||
| tr -d ',' \
|
||||
| tr -d 'v' \
|
||||
| tr -d ' ' \
|
||||
>> $VERSION
|
||||
| tr -d ' ')" >> $GITHUB_ENV
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user