Update Rust crate anyhow to v1.0.84 #150
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
on: [push, pull_request] | |
name: Continous Integration | |
jobs: | |
image: | |
name: Create image | |
runs-on: ubuntu-latest | |
steps: | |
- name: ⏬ Checkout | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: 🔽 Install GitVersion | |
uses: gittools/actions/gitversion/setup@v0.9.10 | |
with: | |
versionSpec: "5.x" | |
- name: 🔽 Install QEMU | |
uses: docker/setup-qemu-action@v1 | |
- name: 🔽 Install Docker Buildx | |
uses: docker/setup-buildx-action@v1 | |
- name: 🔑 Login to DockerHub | |
uses: docker/login-action@v1 | |
if: github.ref == 'refs/heads/master' | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: 🔍 Determine Version | |
id: gitversion | |
uses: gittools/actions/gitversion/execute@v0.9.10 | |
with: | |
useConfigFile: true | |
- name: 🔨 Build | |
id: docker_build | |
uses: docker/build-push-action@v2 | |
with: | |
push: ${{ github.ref == 'refs/heads/master' }} | |
platforms: | | |
linux/amd64 | |
linux/arm64 | |
tags: | | |
yolodev/udev-device-manager:latest | |
yolodev/udev-device-manager:v${{ steps.gitversion.outputs.fullSemVer }} | |
outputs: | |
version: ${{ steps.gitversion.outputs.fullSemVer }} |