Download openssh
This commit is contained in:
parent
c659fcf990
commit
a8768e1751
2
.github/workflows/cicd.yml
vendored
2
.github/workflows/cicd.yml
vendored
@ -10,7 +10,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Copy using key
|
- name: Copy using key
|
||||||
id: key-job
|
id: key-job
|
||||||
uses: srueda99/scp-action@v5
|
uses: srueda99/scp-action@v6
|
||||||
with:
|
with:
|
||||||
port: 22
|
port: 22
|
||||||
host: ${{ secrets.SERVER_ADDRESS }}
|
host: ${{ secrets.SERVER_ADDRESS }}
|
||||||
|
@ -4,5 +4,7 @@ FROM alpine
|
|||||||
COPY . /
|
COPY . /
|
||||||
# Grant executable permission on the script.
|
# Grant executable permission on the script.
|
||||||
RUN ["chmod", "+x", "/entrypoint.sh"]
|
RUN ["chmod", "+x", "/entrypoint.sh"]
|
||||||
|
RUN ["apk", "update"]
|
||||||
|
RUN ["apk", "add", "git", "openssh"]
|
||||||
# Runs the script.
|
# Runs the script.
|
||||||
ENTRYPOINT [ "/entrypoint.sh" ]
|
ENTRYPOINT [ "/entrypoint.sh" ]
|
@ -25,7 +25,7 @@ Use Github secrets to give these parameters.
|
|||||||
**With password**
|
**With password**
|
||||||
```
|
```
|
||||||
name: copy using password
|
name: copy using password
|
||||||
uses: srueda99/scp-action@v5
|
uses: srueda99/scp-action@v6
|
||||||
with:
|
with:
|
||||||
port: 22
|
port: 22
|
||||||
host: ${{ secrets.SERVER_ADDRESS }}
|
host: ${{ secrets.SERVER_ADDRESS }}
|
||||||
@ -37,7 +37,7 @@ with:
|
|||||||
**With key**
|
**With key**
|
||||||
```
|
```
|
||||||
name: copy using key
|
name: copy using key
|
||||||
uses: srueda99/scp-action@v5
|
uses: srueda99/scp-action@v6
|
||||||
with:
|
with:
|
||||||
port: 22
|
port: 22
|
||||||
host: ${{ secrets.SERVER_ADDRESS }}
|
host: ${{ secrets.SERVER_ADDRESS }}
|
||||||
@ -49,7 +49,7 @@ with:
|
|||||||
**With origin folder**
|
**With origin folder**
|
||||||
```
|
```
|
||||||
name: copy using password
|
name: copy using password
|
||||||
uses: srueda99/scp-action@v5
|
uses: srueda99/scp-action@v6
|
||||||
with:
|
with:
|
||||||
port: 22
|
port: 22
|
||||||
host: ${{ secrets.SERVER_ADDRESS }}
|
host: ${{ secrets.SERVER_ADDRESS }}
|
||||||
@ -62,7 +62,7 @@ with:
|
|||||||
**With passphrase**
|
**With passphrase**
|
||||||
```
|
```
|
||||||
name: copy using key
|
name: copy using key
|
||||||
uses: srueda99/scp-action@v5
|
uses: srueda99/scp-action@v6
|
||||||
with:
|
with:
|
||||||
port: 22
|
port: 22
|
||||||
host: ${{ secrets.SERVER_ADDRESS }}
|
host: ${{ secrets.SERVER_ADDRESS }}
|
||||||
|
Loading…
Reference in New Issue
Block a user