update build deps #43
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Git commit hash | |
id: hash | |
run: | | |
echo "speculosHash=$(git ls-remote https://github.com/LedgerHQ/speculos | head -n 1 | awk '{print $1}')" >> $GITHUB_OUTPUT | |
echo "hash=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT | |
- name: Set up QEMU # to build multitarget containers | |
uses: docker/setup-qemu-action@v2 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v2 | |
- name: Build image | |
uses: docker/build-push-action@v4 | |
with: | |
context: src | |
platforms: linux/amd64,linux/arm64 | |
push: false | |
tags: >- | |
zondax/builder-zemu:${{ steps.hash.outputs.hash }}, | |
zondax/builder-zemu:latest, | |
zondax/builder-zemu:speculos-${{ steps.hash.outputs.speculosHash }} |