Skip to content

Commit bc95a6b

Browse files
Stormheglaymonage
authored andcommitted
Replace docker-compose with docker compose in CI
Docker Compose v1 has been removed from `ubuntu-latest` runner images per July 29, 2024. See actions/runner-images#9692
1 parent dbca05f commit bc95a6b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/docker.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ jobs:
1414
steps:
1515
- uses: actions/checkout@v3
1616
- name: Build container
17-
run: docker-compose build && docker-compose pull
17+
run: docker compose build && docker compose pull
1818
- name: Run migrations
19-
run: docker-compose run app /venv/bin/python manage.py migrate
19+
run: docker compose run app /venv/bin/python manage.py migrate
2020
- name: Load initial data
21-
run: docker-compose run app /venv/bin/python manage.py load_initial_data
21+
run: docker compose run app /venv/bin/python manage.py load_initial_data
2222
- name: Run tests
23-
run: docker-compose run app /venv/bin/python manage.py test
23+
run: docker compose run app /venv/bin/python manage.py test

0 commit comments

Comments
 (0)