Adjust workflows for cb/latest/pr
This commit is contained in:
parent
b55e8f33b4
commit
9a8be857b8
3 changed files with 36 additions and 2 deletions
24
.github/workflows/push-to-master.yml
vendored
Normal file
24
.github/workflows/push-to-master.yml
vendored
Normal file
|
@ -0,0 +1,24 @@
|
|||
on:
|
||||
push:
|
||||
branches: ['master']
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- id: make_version_string
|
||||
uses: ./.github/actions/make-version-string
|
||||
with:
|
||||
assemblyInfoPath: AssemblyInfo.cs
|
||||
- uses: ./.github/actions/expand-tokens
|
||||
env:
|
||||
VERSIONSTRING: ${{ steps.make_version_string.outputs.versionstring }}
|
||||
with:
|
||||
path: Constants.cs
|
||||
- name: Publish to Registry
|
||||
uses: elgohr/Publish-Docker-Github-Action@master
|
||||
with:
|
||||
name: sandersaares/test123:cb
|
||||
username: sandersaares
|
||||
password: ${{ secrets.docker_hub_token }}
|
||||
snapshot: true
|
Loading…
Add table
Add a link
Reference in a new issue