Trying to make publish_crate -> publish_docker_image #12
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: Publish Crate | |
on: | |
# Publish when tagged | |
push: | |
tags: [ "v[0-9]+.[0-9]+.[0-9]+*" ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
publish: | |
name: Publish | |
runs-on: ubuntu-latest | |
steps: | |
- name: Just echo refs | |
run: echo "ref=${{ github.ref }} ref_name=${{ github.ref_name }} ref_type=${{ github.ref_type }}" | |
# - name: Dependencies | |
# run: | | |
# sudo apt update | |
# sudo apt install -y libsasl2-dev | |
# | |
# - name: Check-out | |
# uses: actions/checkout@v4 | |
# | |
# - name: Toolchain | |
# uses: actions-rs/toolchain@v1 | |
# with: | |
# toolchain: stable | |
# profile: minimal | |
# override: true | |
# | |
# - name: Cargo publish | |
# run: cargo publish --locked | |
# env: | |
# CARGO_REGISTRY_TOKEN: ${{ secrets.CRATES_IO_PUBLISH_TOKEN }} |