Skip to content

Commit

Permalink
update php version
Browse files Browse the repository at this point in the history
  • Loading branch information
rosven9856 committed Aug 29, 2024
1 parent af9260a commit 431cd5c
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG PHP_VERSION=8.3.10-1
ARG PHP_VERSION=8.3

FROM rosven9856/php:$PHP_VERSION

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ This action will update the package version in the Gitea system using the API an
build
```shell
docker build . --build-arg=PHP_VERSION=8.3.10-1 -t=gitea-package-action
docker build . --build-arg=PHP_VERSION=8.3 -t=gitea-package-action
```

initialization
Expand Down
2 changes: 1 addition & 1 deletion src/app.php → app.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ function sendRequest ($method = 'GET', $endpoint = '', $data = []): array {
$endpoint .= '?access_token=' . \getenv('gitea_access_token');
}

\curl_setopt($curl, CURLOPT_URL, \getenv('gitea_instance_base_url') . $endpoint /* . '?access_token=' . \getenv('gitea_access_token')*/);
\curl_setopt($curl, CURLOPT_URL, app . php\getenv('gitea_instance_base_url') . $endpoint /* . '?access_token=' . \getenv('gitea_access_token')*/);
\curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, 2);
\curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, true);
\curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
Expand Down
Empty file added src/.gitkeep
Empty file.

0 comments on commit 431cd5c

Please sign in to comment.