Skip to content

build(deps): bump anyhow from 1.0.86 to 1.0.91 #527

build(deps): bump anyhow from 1.0.86 to 1.0.91

build(deps): bump anyhow from 1.0.86 to 1.0.91 #527

name: "Function: Docker create"
on:
push:
branches:
- "mistress"
paths:
- "**.rs"
- "**.yaml"
- "**.toml"
pull_request:
branches:
- "mistress"
paths:
- "**.rs"
- "**.yaml"
- "**.toml"
jobs:
function-docker-create:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v2"
- name: "Install latest stable Rust"
uses: "actions-rs/toolchain@v1"
with:
toolchain: "stable"
profile: "minimal"
override: true
target: "x86_64-unknown-linux-musl"
- uses: "Swatinem/rust-cache@v2"
with:
key: "docker-create-functionality"
cache-on-failure: true
- name: "Install musl-tools"
run: "sudo apt-get update && sudo apt-get install -y musl-tools comerr-dev wget"
- name: "Build release binary!"
uses: "actions-rs/cargo@v1"
with:
command: "build"
args: "--release --target=x86_64-unknown-linux-musl"
- name: "Run release binary"
run: "pwd && ls -lah && env RUST_LOG=debug ./target/x86_64-unknown-linux-musl/release/peckish -c ./configs/ci/peckish.docker-create.yaml"
- name: "Validate image creation"
run: "docker run --rm queer/peckish:latest peckish -V"