Fix workflows
Some checks failed
Build and push container image / build (push) Failing after 1s

This commit is contained in:
toast 2023-10-20 09:39:13 +11:00
parent c932acb0e6
commit 2f8b1bd886
2 changed files with 4 additions and 5 deletions

View File

@ -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

View File

@ -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 && \