Set up Depot for local builds too.
This commit is contained in:
parent
4df65171ba
commit
5d3d765e77
|
@ -193,7 +193,6 @@ jobs:
|
|||
- name: Publish to Docker Hub
|
||||
uses: depot/build-push-action@v1
|
||||
with:
|
||||
project: qvjwqlcn6p
|
||||
context: .
|
||||
push: true
|
||||
platforms: linux/amd64,linux/arm64
|
||||
|
|
15
Makefile
15
Makefile
|
@ -30,13 +30,24 @@ build: # Rebuild all containers and restart
|
|||
docker-compose build
|
||||
$(MAKE) restart
|
||||
|
||||
update: # Update everything (i.e. after a branch update)
|
||||
docker-compose build
|
||||
post-update:
|
||||
$(MAKE) down
|
||||
docker-compose run --rm web gosu azuracast composer install
|
||||
docker-compose run --rm web azuracast_cli azuracast:setup --update
|
||||
$(MAKE) up
|
||||
|
||||
update: # Update everything (i.e. after a branch update)
|
||||
docker-compose build
|
||||
$(MAKE) post-update
|
||||
|
||||
build-depot: # Rebuild all containers with Depot and restart
|
||||
depot bake -f docker-compose.yml -f docker-compose.override.yml --load
|
||||
$(MAKE) restart
|
||||
|
||||
update-depot: # Update everything using Depot
|
||||
depot bake -f docker-compose.yml -f docker-compose.override.yml --load
|
||||
$(MAKE) post-update
|
||||
|
||||
test:
|
||||
docker-compose exec --user=azuracast web composer run cleanup-and-test
|
||||
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
{"id":"qvjwqlcn6p"}
|
Loading…
Reference in New Issue