Skip to content

Commit

Permalink
add git as safe dir
Browse files Browse the repository at this point in the history
  • Loading branch information
hoshsadiq committed Aug 14, 2024
1 parent 342972c commit 35123b2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/actions/mike-test-build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ runs:
platforms: linux/amd64,linux/arm64/v8,linux/arm/v7,linux/386
- name: Login to Docker
shell: bash
run: |
echo $DOCKER_TOKEN | docker login --username $DOCKER_USERNAME --password-stdin
run: echo $DOCKER_TOKEN | docker login --username $DOCKER_USERNAME --password-stdin

- shell: bash
run: |
Expand All @@ -46,10 +45,9 @@ runs:
docker exec --tty "$CONTAINER_ID" dpkg --add-architecture i386
docker exec --tty "$CONTAINER_ID" apt-get update
docker exec --tty "$CONTAINER_ID" apt-get install --no-install-recommends -y -q crossbuild-essential-i386
docker exec --tty "$CONTAINER_ID" git config --global --add safe.directory "$PWD"
echo "CONTAINER_ID=$CONTAINER_ID" >> "$GITHUB_ENV"
- uses: hoshsadiq/ssh2action@main

- shell: bash
run: docker exec \
--env GITHUB_TOKEN \
Expand Down
2 changes: 2 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
version: 2

project_name: ldcli

env:
- GO111MODULE=on
- CGO_ENABLED=1
Expand Down

0 comments on commit 35123b2

Please sign in to comment.