Skip to content

Trying to make publish_crate -> publish_docker_image #12

Trying to make publish_crate -> publish_docker_image

Trying to make publish_crate -> publish_docker_image #12

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 }}