Skip to content

Cargo fmt, brrrr

Cargo fmt, brrrr #77

Workflow file for this run

name: release
on:
push:
branches:
- docker
jobs:
release:
name: Release-plz
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
# - name: Run release-plz
# uses: MarcoIeni/release-plz-action@main
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# CARGO_REGISTRY_TOKEN: ${{ secrets.HTSGET_RS_CRATES_IO_TOKEN }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to GHCR.io (GH's Container Registry)
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Docker GitHub release
id: docker_build
uses: docker/build-push-action@v3
with:
context: .
file: deploy/Dockerfile
push: true
tags: |
ghcr.io/umccr/htsget-rs:dev-latest
ghcr.io/umccr/htsget-rs:dev-${{ github.run_number }}