This commit is contained in:
parent
c932acb0e6
commit
2f8b1bd886
@ -18,15 +18,15 @@ jobs:
|
||||
apt-get update
|
||||
apt-get -y install docker-ce docker-ce-cli containerd.io
|
||||
- name: Checkout branch
|
||||
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4
|
||||
uses: actions/checkout
|
||||
- name: Login to Gitea
|
||||
uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3
|
||||
uses: docker/login-action
|
||||
with:
|
||||
registry: ${{ secrets.DOCKER_REGISTRY }}
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_TOKEN }}
|
||||
- name: Build and push image
|
||||
uses: docker/build-push-action@0565240e2d4ab88bba5387d719585280857ece09 # v5
|
||||
uses: docker/build-push-action
|
||||
with:
|
||||
context: .
|
||||
file: Dockerfile
|
||||
|
@ -12,8 +12,7 @@ jobs:
|
||||
with:
|
||||
host: ${{ secrets.SSH_HOST }}
|
||||
username: ${{ secrets.SSH_USERNAME }}
|
||||
passphrase: ${{ secrets.SSH_PASSPHRASE }}
|
||||
key: ${{ secrets.SSH_KEY }}
|
||||
key: ${{ secrets.SSH_PRVKEY }}
|
||||
port: ${{ secrets.SSH_PORT }}
|
||||
script: |
|
||||
cd corn-util && \
|
||||
|
Reference in New Issue
Block a user