Skip to content

Commit

Permalink
invoke docker command
Browse files Browse the repository at this point in the history
  • Loading branch information
hoshsadiq committed Aug 13, 2024
1 parent cd6e452 commit e13d9a1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 16 deletions.
23 changes: 11 additions & 12 deletions .github/actions/mike-test-build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,18 +34,17 @@ runs:
run: |
echo $DOCKER_TOKEN | docker login --username $DOCKER_USERNAME --password-stdin
- uses: goto-bus-stop/[email protected]
with:
version: 0.14.0

- run: sudo apt-get install gcc-aarch64-linux-gnu gcc-arm-linux-gnueabihf
shell: bash

- name: Run Goreleaser
uses: goreleaser/goreleaser-action@v5
with:
version: latest
args: build --snapshot --config .goreleaser.yaml
- shell: bash
run: |
docker run \
--tty \
--rm
--env GITHUB_TOKEN \
--env HOMEBREW_DEPLOY_KEY \
--volume "$PWD:$PWD" \
--workdir "$PWD" \
ghcr.io/goreleaser/goreleaser-cross:latest \
build --snapshot --config .goreleaser.yaml
env:
GITHUB_TOKEN: ${{ inputs.token }}
HOMEBREW_DEPLOY_KEY: ${{ inputs.homebrew-gh-secret }}
Expand Down
4 changes: 0 additions & 4 deletions scripts/gr-cross-runner.sh

This file was deleted.

0 comments on commit e13d9a1

Please sign in to comment.