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