ci / docker (push) Successful in 5m11s
core.fileMode is false in this repo, so the exec bit on komodo-deploy.sh was not recorded and the runner hit 'Permission denied'. Mark the file executable in the index and invoke it via 'sh' so the step no longer depends on the mode bit.
43 lines
1.1 KiB
YAML
43 lines
1.1 KiB
YAML
name: ci
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
docker:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
-
|
|
name: Login to Docker Hub
|
|
uses: docker/login-action@v4
|
|
with:
|
|
registry: git.jonb.io
|
|
username: '${{ gitea.actor }}'
|
|
password: '${{ secrets.JONBIO_CI }}'
|
|
-
|
|
name: Set up QEMU
|
|
uses: docker/setup-qemu-action@v4
|
|
-
|
|
name: Set up Docker Buildx
|
|
uses: docker/setup-buildx-action@v4
|
|
-
|
|
name: Build and push
|
|
uses: docker/build-push-action@v7
|
|
with:
|
|
push: true
|
|
tags: git.jonb.io/jblu/qbit-maid:latest
|
|
-
|
|
name: Checkout
|
|
uses: actions/checkout@v4
|
|
-
|
|
name: Deploy to Komodo
|
|
env:
|
|
KOMODO_URL: '${{ secrets.KOMODO_URL }}'
|
|
KOMODO_API_KEY: '${{ secrets.KOMODO_API_KEY }}'
|
|
KOMODO_API_SECRET: '${{ secrets.KOMODO_API_SECRET }}'
|
|
KOMODO_TARGET: 'qbit-maid'
|
|
KOMODO_REQUIRED: 'true'
|
|
run: sh ./.gitea/scripts/komodo-deploy.sh
|