2024-07-22 00:46:26 +02:00
|
|
|
name: ci
|
|
|
|
|
|
|
|
|
|
on:
|
|
|
|
|
push:
|
|
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
|
docker:
|
2024-07-22 03:41:01 +02:00
|
|
|
runs-on: sh
|
2024-07-22 00:46:26 +02:00
|
|
|
steps:
|
2024-07-22 01:32:59 +02:00
|
|
|
-
|
|
|
|
|
name: Login to Docker Hub
|
2024-07-22 01:32:22 +02:00
|
|
|
uses: docker/login-action@v3
|
|
|
|
|
with:
|
|
|
|
|
registry: code.hohl.cloud
|
|
|
|
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
|
|
|
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
2024-07-22 04:16:39 +02:00
|
|
|
- run: docker builld -t code.hohl.cloud/a11yist:latest --target production .
|
2024-07-22 04:08:44 +02:00
|
|
|
- run: docker compose -f /services/a11yist/docker-compose.yml up -d
|
2024-07-22 04:16:39 +02:00
|
|
|
- run: docker push code.hohl.cloud/a11yist:latest
|