You've already forked gitea-composer-upload-action
update php version
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
ARG PHP_VERSION=8.3.10-1
|
||||
ARG PHP_VERSION=8.3
|
||||
|
||||
FROM rosven9856/php:$PHP_VERSION
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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);
|
||||
0
src/.gitkeep
Normal file
0
src/.gitkeep
Normal file
Reference in New Issue
Block a user