mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-10-31 13:34:12 +00:00 
			
		
		
		
	Bumps [actions/checkout](https://github.com/actions/checkout) from 4.0.0 to 4.1.0. - [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.0.0...v4.1.0) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
		
			
				
	
	
		
			30 lines
		
	
	
	
		
			834 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			30 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.0
 | |
|       - 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}"
 |