|
|
@ -1,6 +1,6 @@
|
|
|
|
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:
|
|
|
|
# on:
|
|
|
|
# push:
|
|
|
|
# push:
|
|
|
|
# tags:
|
|
|
|
# tags:
|
|
|
|
# - 'v[0-9]+.[0-9]+.[0-9]+'
|
|
|
|
# - 'v[0-9]+.[0-9]+.[0-9]+'
|
|
|
@ -34,7 +34,7 @@ jobs:
|
|
|
|
|
|
|
|
|
|
|
|
Publish-Docker:
|
|
|
|
Publish-Docker:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
needs: [Publish-Cargo]
|
|
|
|
needs: Publish-Cargo
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
- name: Check out repository code
|
|
|
|
- name: Check out repository code
|
|
|
|
uses: https://github.com/actions/checkout@v3
|
|
|
|
uses: https://github.com/actions/checkout@v3
|
|
|
@ -64,6 +64,6 @@ jobs:
|
|
|
|
context: .
|
|
|
|
context: .
|
|
|
|
file: ./Dockerfile
|
|
|
|
file: ./Dockerfile
|
|
|
|
push: true
|
|
|
|
push: true
|
|
|
|
tags:
|
|
|
|
tags:
|
|
|
|
- git.raptorpond.com/${{ github.repository }}:latest
|
|
|
|
- git.raptorpond.com/${{ github.repository }}:latest
|
|
|
|
- git.raptorpond.com/${{ github.repository }}:${{ env.VERSION }}
|
|
|
|
- git.raptorpond.com/${{ github.repository }}:${{ env.VERSION }}
|
|
|
|