This commit is contained in:
1 parent
6535f48734
commit
f3151d74b2
1 file changed
+11
-4
@@ -6,10 +6,17 @@ jobs:
|
|||||||
Explore-Gitea-Actions:
|
Explore-Gitea-Actions:
|
||||||
runs-on: alpine
|
runs-on: alpine
|
||||||
steps:
|
steps:
|
||||||
- run: echo "83.172.39.220 gitea.home.com" >> /etc/hosts
|
- name: prepare-container
|
||||||
- run: apk update && apk upgrade && apk add curl ca-certificates alpine-sdk
|
run: |
|
||||||
- run: curl --user TolaMironcenko:d57cf51c49b425b42148e5a56882f8330bde011c -k "https://gitea.home.com:3000/TolaMironcenko/certs/raw/branch/main/root/TolaMironcenkoCA.pem" -o TolaMironcenkoCA.pem
|
apk update && \
|
||||||
- run: cp -v TolaMironcenkoCA.pem /usr/local/share/ca-certificates/TolaMironcenkoCA.crt && update-ca-certificates
|
apk upgrade && \
|
||||||
|
apk add curl ca-certificates alpine-sdk && \
|
||||||
|
echo "83.172.39.220 gitea.home.com" >> /etc/hosts && \
|
||||||
|
curl \
|
||||||
|
--user TolaMironcenko:d57cf51c49b425b42148e5a56882f8330bde011c \
|
||||||
|
-k "https://gitea.home.com:3000/TolaMironcenko/certs/raw/branch/main/root/TolaMironcenkoCA.pem" \
|
||||||
|
-o /usr/local/share/ca-certificates/TolaMironcenkoCA.crt && \
|
||||||
|
update-ca-certificates
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
|
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
|
||||||
|
|||||||
Reference in new issue
Block a user