mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-25 22:22:51 +09:00
3c3d05ba2e
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.0 to 4.1.1. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4.1.0...v4.1.1) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
31 lines
834 B
YAML
31 lines
834 B
YAML
---
|
|
name: Dockle
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
- develop
|
|
pull_request:
|
|
|
|
jobs:
|
|
dockle:
|
|
runs-on: ubuntu-latest
|
|
env:
|
|
DOCKER_CONTENT_TRUST: 1
|
|
steps:
|
|
- uses: actions/checkout@v4.1.1
|
|
- run: |
|
|
curl -L -o dockle.deb "https://github.com/goodwithtech/dockle/releases/download/v0.4.10/dockle_0.4.10_Linux-64bit.deb"
|
|
sudo dpkg -i dockle.deb
|
|
- run: |
|
|
cp .config/docker_example.env .config/docker.env
|
|
cp ./docker-compose.yml.example ./docker-compose.yml
|
|
- run: |
|
|
docker compose up -d web
|
|
docker tag "$(docker compose images web | awk 'OFS=":" {print $4}' | tail -n +2)" misskey-web:latest
|
|
- run: |
|
|
cmd="dockle --exit-code 1 misskey-web:latest ${image_name}"
|
|
echo "> ${cmd}"
|
|
eval "${cmd}"
|