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
|
- name: Publish to Docker Hub
|
||||||
uses: depot/build-push-action@v1
|
uses: depot/build-push-action@v1
|
||||||
with:
|
with:
|
||||||
project: qvjwqlcn6p
|
|
||||||
context: .
|
context: .
|
||||||
push: true
|
push: true
|
||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64
|
||||||
|
|
15
Makefile
15
Makefile
|
@ -30,13 +30,24 @@ build: # Rebuild all containers and restart
|
||||||
docker-compose build
|
docker-compose build
|
||||||
$(MAKE) restart
|
$(MAKE) restart
|
||||||
|
|
||||||
update: # Update everything (i.e. after a branch update)
|
post-update:
|
||||||
docker-compose build
|
|
||||||
$(MAKE) down
|
$(MAKE) down
|
||||||
docker-compose run --rm web gosu azuracast composer install
|
docker-compose run --rm web gosu azuracast composer install
|
||||||
docker-compose run --rm web azuracast_cli azuracast:setup --update
|
docker-compose run --rm web azuracast_cli azuracast:setup --update
|
||||||
$(MAKE) up
|
$(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:
|
test:
|
||||||
docker-compose exec --user=azuracast web composer run cleanup-and-test
|
docker-compose exec --user=azuracast web composer run cleanup-and-test
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
{"id":"qvjwqlcn6p"}
|
Loading…
Reference in New Issue