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 00:46:26 +02:00
|
|
|
-
|
|
|
|
|
name: Set up Docker Buildx
|
|
|
|
|
uses: docker/setup-buildx-action@v3
|
|
|
|
|
-
|
|
|
|
|
name: Build and push
|
|
|
|
|
uses: docker/build-push-action@v6
|
|
|
|
|
with:
|
|
|
|
|
push: true
|
2024-07-22 01:04:31 +02:00
|
|
|
tags: code.hohl.cloud/jwa11y/a11yist:latest
|
2024-07-22 04:01:24 +02:00
|
|
|
cache-from: type=registry,ref=code.hohl.cloud/jwa11y/a11yist:latest
|
|
|
|
|
cache-to: type=inline
|
2024-07-22 03:56:59 +02:00
|
|
|
- run: docker compose up -f /services/a11yist/docker-compose.yml -d
|