Skip to content

Commit

Permalink
chore: fix github action
Browse files Browse the repository at this point in the history
  • Loading branch information
adrienaury authored Sep 15, 2024
1 parent ae6a462 commit 43098ca
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,20 +26,20 @@ jobs:
fetch-depth: 0

- name: Build
run: docker-compose build
run: docker compose build

- name: Start services
run: docker-compose up -d ci
run: docker compose up -d ci

- uses: FranzDiebold/github-env-vars-action@v2
- name: Release
env:
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
run: |
docker-compose exec -T -u root ci bash -c 'git config --global --add safe.directory /workspace'
docker-compose exec -T -u root ci bash -c 'echo "DOCKERHUB_USER: adrienaury" > ~/.dockerhub.yml'
docker-compose exec -e DOCKERHUB_TOKEN=${DOCKERHUB_TOKEN} -T -u root ci bash -c 'echo "DOCKERHUB_PASS: ${DOCKERHUB_TOKEN}" >> ~/.dockerhub.yml'
docker-compose exec \
docker compose exec -T -u root ci bash -c 'git config --global --add safe.directory /workspace'
docker compose exec -T -u root ci bash -c 'echo "DOCKERHUB_USER: adrienaury" > ~/.dockerhub.yml'
docker compose exec -e DOCKERHUB_TOKEN=${DOCKERHUB_TOKEN} -T -u root ci bash -c 'echo "DOCKERHUB_PASS: ${DOCKERHUB_TOKEN}" >> ~/.dockerhub.yml'
docker compose exec \
-T \
-u root \
-w /workspace \
Expand Down

0 comments on commit 43098ca

Please sign in to comment.