|
|
@ -1,9 +1,13 @@
|
|
|
|
name: Publish Cargo and Docker package
|
|
|
|
name: Publish Cargo and Docker package
|
|
|
|
run-name: ${{ github.actor }} is building ${{ github.repository }}
|
|
|
|
run-name: ${{ github.actor }} is building ${{ github.repository }}
|
|
|
|
|
|
|
|
# on:
|
|
|
|
|
|
|
|
# push:
|
|
|
|
|
|
|
|
# tags:
|
|
|
|
|
|
|
|
# - 'v[0-9]+.[0-9]+.[0-9]+'
|
|
|
|
on:
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
push:
|
|
|
|
tags:
|
|
|
|
branches:
|
|
|
|
- 'v[0-9]+.[0-9]+.[0-9]+'
|
|
|
|
- main
|
|
|
|
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
jobs:
|
|
|
|
Publish-Cargo:
|
|
|
|
Publish-Cargo:
|
|
|
@ -35,11 +39,11 @@ jobs:
|
|
|
|
- name: Check out repository code
|
|
|
|
- name: Check out repository code
|
|
|
|
uses: https://github.com/actions/checkout@v3
|
|
|
|
uses: https://github.com/actions/checkout@v3
|
|
|
|
|
|
|
|
|
|
|
|
# - name: Write release version
|
|
|
|
- name: Write release version
|
|
|
|
# run: |
|
|
|
|
run: |
|
|
|
|
# VERSION=${GITHUB_REF_NAME#v}
|
|
|
|
VERSION=${GITHUB_REF_NAME#v}
|
|
|
|
# echo Version: $VERSION
|
|
|
|
echo Version: $VERSION
|
|
|
|
# echo "VERSION=$VERSION" >> $GITHUB_ENV
|
|
|
|
echo "VERSION=$VERSION" >> $GITHUB_ENV
|
|
|
|
|
|
|
|
|
|
|
|
- name: Install Docker
|
|
|
|
- name: Install Docker
|
|
|
|
run: curl -fsSL https://get.docker.com | sh
|
|
|
|
run: curl -fsSL https://get.docker.com | sh
|
|
|
|