mirror of
https://github.com/wneessen/apg-go.git
synced 2024-12-23 03:30:39 +01:00
Refactor docker-compose installation in GitHub Workflow
Docker-compose installation has been moved in the GitHub Workflow (docker.yml) from the "test" to the "build" phase. This change ensures docker-compose is installed early on, making it available throughout the entire process. The steps include updating the package list, installing docker-compose, and confirming its installation.
This commit is contained in:
parent
a9b0f3b32b
commit
7ee5632405
1 changed files with 3 additions and 3 deletions
|
@ -15,6 +15,9 @@ jobs:
|
|||
runs-on: docker
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Install docker-compose
|
||||
run: |
|
||||
apt-get update; apt-get -y install docker-compose; which docker-compose
|
||||
- name: Build the Docker image
|
||||
run: docker-compose build --no-cache --force-rm
|
||||
test:
|
||||
|
@ -29,9 +32,6 @@ jobs:
|
|||
steps:
|
||||
- name: Check out the repo
|
||||
uses: actions/checkout@v3
|
||||
- name: Install docker-compose
|
||||
run: |
|
||||
apt-get update; apt-get -y install docker-compose; which docker-compose
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v2
|
||||
- name: Log in to Docker Hub
|
||||
|
|
Loading…
Reference in a new issue