Skip to content

Commit

Permalink
Debug docker-compose installation issue
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Jiang <[email protected]>
  • Loading branch information
reasonerjt committed Sep 8, 2024
1 parent 9002bf8 commit 388d17a
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions .github/workflows/build-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ env:
DOCKER_COMPOSE_VERSION: 1.23.0

on:
#debug the issue of docker-compose, remove this line before merging
pull_request:
push:
branches:
- master
Expand All @@ -18,13 +20,13 @@ jobs:
- ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: 'google-github-actions/auth@v0'
with:
credentials_json: '${{ secrets.GCP_CREDENTIALS }}'
- uses: google-github-actions/setup-gcloud@v0
with:
version: '285.0.0'
- run: gcloud info
#- uses: 'google-github-actions/auth@v0'
# with:
# credentials_json: '${{ secrets.GCP_CREDENTIALS }}'
#- uses: google-github-actions/setup-gcloud@v0
# with:
# version: '285.0.0'
#- run: gcloud info
- name: Set up Go 1.21
uses: actions/setup-go@v4
with:
Expand Down Expand Up @@ -62,6 +64,8 @@ jobs:
curl -L https://github.com/docker/compose/releases/download/v${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose
chmod +x docker-compose
sudo mv docker-compose /usr/local/bin
which docker
sudo env
df -h
harbor_target_bucket=""
target_branch="$(echo ${GITHUB_REF#refs/heads/})"
Expand Down

0 comments on commit 388d17a

Please sign in to comment.