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 update
apt-get -y install docker-ce docker-ce-cli containerd.io apt-get -y install docker-ce docker-ce-cli containerd.io
- name: Checkout branch - name: Checkout branch
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4 uses: actions/checkout
- name: Login to Gitea - name: Login to Gitea
uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3 uses: docker/login-action
with: with:
registry: ${{ secrets.DOCKER_REGISTRY }} registry: ${{ secrets.DOCKER_REGISTRY }}
username: ${{ secrets.DOCKER_USERNAME }} username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_TOKEN }} password: ${{ secrets.DOCKER_TOKEN }}
- name: Build and push image - name: Build and push image
uses: docker/build-push-action@0565240e2d4ab88bba5387d719585280857ece09 # v5 uses: docker/build-push-action
with: with:
context: . context: .
file: Dockerfile file: Dockerfile

View File

@ -12,8 +12,7 @@ jobs:
with: with:
host: ${{ secrets.SSH_HOST }} host: ${{ secrets.SSH_HOST }}
username: ${{ secrets.SSH_USERNAME }} username: ${{ secrets.SSH_USERNAME }}
passphrase: ${{ secrets.SSH_PASSPHRASE }} key: ${{ secrets.SSH_PRVKEY }}
key: ${{ secrets.SSH_KEY }}
port: ${{ secrets.SSH_PORT }} port: ${{ secrets.SSH_PORT }}
script: | script: |
cd corn-util && \ cd corn-util && \